Force a show event in the pop-up menu so that on first click the menu is

shown properly.
This commit is contained in:
Andrew Resch 2008-11-28 20:24:03 +00:00
parent 5ad2c87b77
commit d64f8c3d93
1 changed files with 3 additions and 0 deletions

View File

@ -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