Force a show event in the pop-up menu so that on first click the menu is
shown properly.
This commit is contained in:
parent
5ad2c87b77
commit
d64f8c3d93
|
@ -323,7 +323,10 @@ class FilterTreeView(component.Component):
|
||||||
|
|
||||||
#Show the pop-up menu
|
#Show the pop-up menu
|
||||||
self.set_menu_sensitivity()
|
self.set_menu_sensitivity()
|
||||||
|
self.menu.hide()
|
||||||
self.menu.popup(None, None, None, event.button, event.time)
|
self.menu.popup(None, None, None, event.button, event.time)
|
||||||
|
self.menu.show()
|
||||||
|
|
||||||
if cat == "cat":
|
if cat == "cat":
|
||||||
# Do not select the row
|
# Do not select the row
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue