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/rostertab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tabs/rostertab.py') diff --git a/src/tabs/rostertab.py b/src/tabs/rostertab.py index 81b5fcb5..34a4c553 100644 --- a/src/tabs/rostertab.py +++ b/src/tabs/rostertab.py @@ -266,7 +266,6 @@ class RosterInfoTab(Tab): self.core.command_last_activity(jid) def resize(self): - self.need_resize = False if self.size.tab_degrade_x: display_info = False roster_width = self.width @@ -302,6 +301,7 @@ class RosterInfoTab(Tab): roster_width, 0, 0) self.input.resize(1, self.width, self.height-1, 0) self.default_help_message.resize(1, self.width, self.height-1, 0) + self.push_size() def completion(self): # Check if we are entering a command (with the '/' key) -- cgit v1.2.3