Close previous palette on reseting palette property in invoker #1299
This commit is contained in:
parent
cb5951d3b9
commit
6b992ee9fb
@ -641,6 +641,9 @@ class Invoker(gobject.GObject):
|
||||
return self._palette
|
||||
|
||||
def set_palette(self, palette):
|
||||
if self._palette is not None:
|
||||
self._palette.popdown(immediate=True)
|
||||
|
||||
if self._palette:
|
||||
self._palette.props.invoker = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user