From c9286eb19aa1ea028c8c3158a885b3afbbc68307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 14 Jun 2008 19:59:02 +0200 Subject: [PATCH] Remove unused previous_action --- tryton/gui/window/form.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tryton/gui/window/form.py b/tryton/gui/window/form.py index c542ad54fc..05f128d6b4 100644 --- a/tryton/gui/window/form.py +++ b/tryton/gui/window/form.py @@ -41,7 +41,6 @@ class Form(SignalEvent): fields = {} self.model = model self.window = window - self.previous_action = None self.glade = glade.XML(GLADE, 'win_form_container', gettext.textdomain()) self.widget = self.glade.get_widget('win_form_container') @@ -341,8 +340,6 @@ class Form(SignalEvent): 'ids': ids, 'window': self.window, }, context=ctx, alwaysask=True) - if res: - self.previous_action = res self.sig_reload(test_modified=False) else: self.message_state(_('No record selected!'))