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/data_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tabs/data_forms.py') diff --git a/src/tabs/data_forms.py b/src/tabs/data_forms.py index d5d4318a..ecd28e33 100644 --- a/src/tabs/data_forms.py +++ b/src/tabs/data_forms.py @@ -64,7 +64,6 @@ class DataFormsTab(Tab): self.form_win.on_input(key) def resize(self): - self.need_resize = False self.topic_win.resize(1, self.width, 0, 0) self.form_win.resize(self.height - 3 - Tab.tab_win_height(), self.width, 1, 0) @@ -72,6 +71,7 @@ class DataFormsTab(Tab): self.help_win_dyn.resize(1, self.width, self.height - 2 - Tab.tab_win_height(), 0) self.lines = [] + self.push_size() def refresh(self): if self.need_resize: -- cgit v1.2.3