From db53cb88dc7630616de83421d88249dab87fa86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 22 Jul 2013 12:53:09 +0200 Subject: [PATCH] Add missing call to save_tree_state in modified_save It was wrongly removed from the review850003 but it is needed to save the tree state when closing a tab. --- tryton/gui/window/form.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tryton/gui/window/form.py b/tryton/gui/window/form.py index 5065a5754a..a1a6e0326b 100644 --- a/tryton/gui/window/form.py +++ b/tryton/gui/window/form.py @@ -457,6 +457,7 @@ class Form(SignalEvent, TabContent): self.update_attachment_count() def modified_save(self): + self.screen.save_tree_state() self.screen.current_view.set_value() if self.screen.modified(): value = sur_3b(