From b46f0f5e266c321632738ca40839759486b47a7e Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 3 May 2014 02:27:19 +0200 Subject: Fix #2072 (only resize a tab if the size changed since the last display) --- src/tabs/muclisttab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tabs/muclisttab.py') diff --git a/src/tabs/muclisttab.py b/src/tabs/muclisttab.py index c04c3ed5..3d43928a 100644 --- a/src/tabs/muclisttab.py +++ b/src/tabs/muclisttab.py @@ -77,7 +77,6 @@ class MucListTab(Tab): self.input.refresh() def resize(self): - self.need_resize = False if self.size.tab_degrade_y: info_win_height = 0 tab_win_height = 0 @@ -99,6 +98,7 @@ class MucListTab(Tab): self.listview.resize(self.height - 3 - info_win_height - tab_win_height, self.width, 1, 0) self.input.resize(1, self.width, self.height-1, 0) + self.push_size() def on_slash(self): """ -- cgit v1.2.3