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) --HG-- branch : 6.0
This commit is contained in:
1 parent
bca00202c5
commit
a07d50a89d
1 file changed
+1
@@ -1296,6 +1296,7 @@ class Button(Cell):
|
||||
# TODO icon
|
||||
self._set_visual(cell, record)
|
||||
|
||||
@common.idle_add
|
||||
def button_clicked(self, widget, path):
|
||||
if not path:
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user