changeset 19e00467f7a9 in tryton:6.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=19e00467f7a9
description:
        Delay the button clicked callback from cellrenderer

        Because it may raise a confirmation popup which is not supported on 
Windows
        during the callback event.

        issue11606
        review419561003
        (grafted from e0d0a14b82edd102075f72adc24c6b23d40a72fc)
diffstat:

 tryton/gui/window/view_form/view/list_gtk/widget.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r df93c97be471 -r 19e00467f7a9 
tryton/gui/window/view_form/view/list_gtk/widget.py
--- a/tryton/gui/window/view_form/view/list_gtk/widget.py       Sun Jul 24 
23:36:40 2022 +0200
+++ b/tryton/gui/window/view_form/view/list_gtk/widget.py       Sat Aug 06 
10:33:49 2022 +0200
@@ -1296,6 +1296,7 @@
         # TODO icon
         self._set_visual(cell, record)
 
+    @common.idle_add
     def button_clicked(self, widget, path):
         if not path:
             return True

Reply via email to