Fix data forms to work properly with the previous changes in windows.py

This commit is contained in:
Florent Le Coz 2011-03-06 05:09:45 +01:00
parent 8d8b13fb7a
commit 6b469dbde9

View file

@ -81,11 +81,11 @@ class DataFormsTab(Tab):
self.help_win_dyn.resize(1, self.width, self.height-3, 0)
self.lines = []
def refresh(self, tabs, informations, _):
def refresh(self):
if not self.visible:
return
self.topic_win.refresh(self._form['title'])
self.tab_win.refresh(tabs, tabs[0])
self.tab_win.refresh()
self.help_win.refresh()
self.help_win_dyn.refresh(self.form_win.get_help_message())
self.form_win.refresh()