Fix an issue from #1153 for setup without plugins package

This commit is contained in:
Dmitri Bogomolov 2018-07-01 01:16:32 +03:00
parent c7d3784b80
commit 2504c80da6
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
1 changed files with 2 additions and 0 deletions

View File

@ -255,6 +255,8 @@ class MyForm(settingsmixin.SMainWindow):
# load all plugins with prefix 'address'
self.menu_plugins = {'address': []}
if not get_plugins:
for plugin in get_plugins('', 'address'):
handler, title = plugin(self)