From e392385168b26421862d4b89f7474abf9f49e69f Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sun, 2 Jun 2019 13:32:48 +0200 Subject: [PATCH] fixed bug in bumblebee popup implementation * allow custom callbacks --- bumblebee/popup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/popup.py b/bumblebee/popup.py index 1142664..2e0a620 100644 --- a/bumblebee/popup.py +++ b/bumblebee/popup.py @@ -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