Do not add gui.menu plugins with prefix 'address' to "All accounts" item
This commit is contained in:
parent
08a2115412
commit
3850a920c9
|
@ -3847,6 +3847,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
self.popMenuYourIdentities.addAction(self.actionSpecialAddressBehaviorYourIdentities)
|
self.popMenuYourIdentities.addAction(self.actionSpecialAddressBehaviorYourIdentities)
|
||||||
self.popMenuYourIdentities.addAction(self.actionEmailGateway)
|
self.popMenuYourIdentities.addAction(self.actionEmailGateway)
|
||||||
self.popMenuYourIdentities.addSeparator()
|
self.popMenuYourIdentities.addSeparator()
|
||||||
|
if currentItem.type != AccountMixin.ALL:
|
||||||
# preloaded gui.menu plugins with prefix 'address'
|
# preloaded gui.menu plugins with prefix 'address'
|
||||||
for plugin in self.menu_plugins['address']:
|
for plugin in self.menu_plugins['address']:
|
||||||
self.popMenuYourIdentities.addAction(plugin)
|
self.popMenuYourIdentities.addAction(plugin)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user