Ignore grab_notify in the palette menu so that eg. scales work.
This commit is contained in:
parent
476189323d
commit
91d7dbcb08
@ -482,6 +482,10 @@ class _Menu(_sugaruiext.Menu):
|
||||
# around everything.
|
||||
gtk.MenuShell.do_expose_event(self, event)
|
||||
|
||||
def do_grab_notify(self, was_grabbed):
|
||||
# Ignore grab_notify as the menu would close otherwise
|
||||
pass
|
||||
|
||||
def do_deactivate(self):
|
||||
self._palette._hide()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user