summaryrefslogtreecommitdiff
path: root/src/data_forms.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-17 14:15:31 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-17 14:15:31 +0200
commita8537481acd482a1c24f1ac0a3a4200316c2828e (patch)
tree3d0191ef2caad69a4388d928afffb804743f7dec /src/data_forms.py
parent24848892256f77edbdcbfcc9c4f90586876b3334 (diff)
downloadpoezio-a8537481acd482a1c24f1ac0a3a4200316c2828e.tar.gz
poezio-a8537481acd482a1c24f1ac0a3a4200316c2828e.tar.bz2
poezio-a8537481acd482a1c24f1ac0a3a4200316c2828e.tar.xz
poezio-a8537481acd482a1c24f1ac0a3a4200316c2828e.zip
Refresh only once, not at every refresh() call, after we resized the screen once.
Diffstat (limited to 'src/data_forms.py')
-rw-r--r--src/data_forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data_forms.py b/src/data_forms.py
index dc532b87..176c4669 100644
--- a/src/data_forms.py
+++ b/src/data_forms.py
@@ -63,6 +63,7 @@ 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.tab_win.resize(1, self.width, self.height-2, 0)
self.form_win.resize(self.height-4, self.width, 1, 0)