diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-05-04 20:44:10 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-05-04 21:05:47 +0200 |
commit | d78b7df68b452bd81af153e285224fc568962af4 (patch) | |
tree | 5f6a5e22651231a087308e0d78f9aa686141c775 /src/tabs/data_forms.py | |
parent | bbc55fa40eaaed6bb57fddd2e9cc5eb1d3baa8cc (diff) | |
download | poezio-d78b7df68b452bd81af153e285224fc568962af4.tar.gz poezio-d78b7df68b452bd81af153e285224fc568962af4.tar.bz2 poezio-d78b7df68b452bd81af153e285224fc568962af4.tar.xz poezio-d78b7df68b452bd81af153e285224fc568962af4.zip |
Implement the execution of ad-hoc commands (#1832)
Diffstat (limited to 'src/tabs/data_forms.py')
-rw-r--r-- | src/tabs/data_forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs/data_forms.py b/src/tabs/data_forms.py index ecd28e33..44c29e6c 100644 --- a/src/tabs/data_forms.py +++ b/src/tabs/data_forms.py @@ -44,13 +44,13 @@ class DataFormsTab(Tab): self.update_commands() def on_cancel(self): - self._on_cancel(self._form) + self._on_cancel(self._form, **self._kwargs) return True def on_send(self): self._form.reply() self.form_win.reply() - self._on_send(self._form) + self._on_send(self._form, **self._kwargs) return True def on_input(self, key, raw=False): |