Merge pull request #392 from bbernhard/callback_fix

fixed bug in bumblebee popup implementation
This commit is contained in:
tobi-wan-kenobi 2019-06-04 20:36:54 +02:00 committed by GitHub
commit fcbb899e2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ class PopupMenu:
if callback is None:
callback = click_callback
self.menu.add_command(label=menuitem,
command=click_callback)
command=callback)
# track item index
self._item_count += 1