When right clicking to open a context menu, pass the event on (which selects the row)
This commit is contained in:
parent
ca40c5e58a
commit
e3d2cfb035
@ -36,9 +36,7 @@ def widget_add_popup_menu (widget, menu, button = 3):
|
||||
|
||||
if event.button == button:
|
||||
menu.popup (None, None, None, event.button, event.get_time ())
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
return False
|
||||
|
||||
widget.connect ("button-press-event", popup_callback)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user