From bc11841001933ac9d976a6bdd7e76db6b4d2dc4a Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Thu, 15 Dec 2011 16:03:37 +0100 Subject: [PATCH] Fix dialog hiding on row-activate signal in WinForm The fixed issue appeared only on screens using WinForm, like the attachment list opened from the toolbar. Screens used on a tab are not affected. issue2266 review201002 (transplanted from e19c447ee16c52f540da1d77e5dd1630e94eef48) --- tryton/gui/window/view_form/screen/screen.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tryton/gui/window/view_form/screen/screen.py b/tryton/gui/window/view_form/screen/screen.py index 90624554e5..3853549b54 100644 --- a/tryton/gui/window/view_form/screen/screen.py +++ b/tryton/gui/window/view_form/screen/screen.py @@ -288,12 +288,6 @@ class Screen(SignalEvent): def default_row_activate(self): from tryton.action import Action - from tryton.gui.main import Main - main = Main.get_main() - current_form = main.get_page() - if current_form: - for dialog in current_form.dialogs: - dialog.hide() if (self.current_view.view_type == 'tree' and self.current_view.widget_tree.keyword_open):