From 2504c80da648dd750d4b7763ef3ee06970fe0be5 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Sun, 1 Jul 2018 01:16:32 +0300 Subject: [PATCH] Fix an issue from #1153 for setup without plugins package --- src/bitmessageqt/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 621c87b1..5e4c18fd 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -255,6 +255,8 @@ class MyForm(settingsmixin.SMainWindow): # load all gui.menu plugins with prefix 'address' self.menu_plugins = {'address': []} + if not get_plugins: + return for plugin in get_plugins('gui.menu', 'address'): try: handler, title = plugin(self)