fixed bug in bumblebee popup implementation

* allow custom callbacks
This commit is contained in:
Bernhard B 2019-06-02 13:32:48 +02:00
parent 315328b41f
commit e392385168

View file

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