fixed bug in bumblebee popup implementation
* allow custom callbacks
This commit is contained in:
parent
315328b41f
commit
e392385168
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class PopupMenu:
|
||||||
if callback is None:
|
if callback is None:
|
||||||
callback = click_callback
|
callback = click_callback
|
||||||
self.menu.add_command(label=menuitem,
|
self.menu.add_command(label=menuitem,
|
||||||
command=click_callback)
|
command=callback)
|
||||||
|
|
||||||
# track item index
|
# track item index
|
||||||
self._item_count += 1
|
self._item_count += 1
|
||||||
|
|
Loading…
Reference in a new issue