diff options
author | mathieui <mathieui@mathieui.net> | 2014-05-03 02:27:19 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-05-03 02:27:19 +0200 |
commit | b46f0f5e266c321632738ca40839759486b47a7e (patch) | |
tree | 83ecb7a530dfc6bf9eb5af45b75407bf8d142f4d /src/tabs/muctab.py | |
parent | ea935ded091571ffec14fc020176c6a03f269efc (diff) | |
download | poezio-b46f0f5e266c321632738ca40839759486b47a7e.tar.gz poezio-b46f0f5e266c321632738ca40839759486b47a7e.tar.bz2 poezio-b46f0f5e266c321632738ca40839759486b47a7e.tar.xz poezio-b46f0f5e266c321632738ca40839759486b47a7e.zip |
Fix #2072 (only resize a tab if the size changed since the last display)
Diffstat (limited to 'src/tabs/muctab.py')
-rw-r--r-- | src/tabs/muctab.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py index 201010f5..ae97e993 100644 --- a/src/tabs/muctab.py +++ b/src/tabs/muctab.py @@ -796,7 +796,7 @@ class MucTab(ChatTab): """ Resize the whole window. i.e. all its sub-windows """ - self.need_resize = False + log.debug('RESIZE PLS') if config.get("hide_user_list", False) or self.size.tab_degrade_x: display_user_list = False text_width = self.width @@ -833,6 +833,7 @@ class MucTab(ChatTab): - tab_win_height, 0) self.input.resize(1, self.width, self.height-1, 0) + self.push_size() def refresh(self): if self.need_resize: |