From 5c122163921fd6baef67e7a40afefdd83f9ef9ca Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 10 Nov 2011 15:17:30 +0100 Subject: [PATCH] Also in the DataFormTab --- src/data_forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data_forms.py b/src/data_forms.py index 8445d3d2..8f19e41b 100644 --- a/src/data_forms.py +++ b/src/data_forms.py @@ -23,6 +23,7 @@ class DataFormsTab(Tab): A tab contaning various window type, displaying a form that the user needs to fill. """ + plugin_commands = {} def __init__(self, form, on_cancel, on_send, kwargs): Tab.__init__(self) self._form = form @@ -41,6 +42,7 @@ class DataFormsTab(Tab): self.key_func['^G'] = self.on_cancel self.key_func['^Y'] = self.on_send self.resize() + self.update_commands() def on_cancel(self): self._on_cancel(self._form)