summaryrefslogtreecommitdiff
path: root/src/tabs/data_forms.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-05-03 02:27:19 +0200
committermathieui <mathieui@mathieui.net>2014-05-03 02:27:19 +0200
commitb46f0f5e266c321632738ca40839759486b47a7e (patch)
tree83ecb7a530dfc6bf9eb5af45b75407bf8d142f4d /src/tabs/data_forms.py
parentea935ded091571ffec14fc020176c6a03f269efc (diff)
downloadpoezio-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/data_forms.py')
-rw-r--r--src/tabs/data_forms.py2
1 files changed, 1 insertions, 1 deletions
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: