Do not add gui.menu plugins with prefix 'address' to "All accounts" item

python3android
Dmitri Bogomolov 5 years ago
parent 08a2115412
commit 3850a920c9
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

@ -3847,9 +3847,10 @@ class MyForm(settingsmixin.SMainWindow):
self.popMenuYourIdentities.addAction(self.actionSpecialAddressBehaviorYourIdentities)
self.popMenuYourIdentities.addAction(self.actionEmailGateway)
self.popMenuYourIdentities.addSeparator()
# preloaded gui.menu plugins with prefix 'address'
for plugin in self.menu_plugins['address']:
self.popMenuYourIdentities.addAction(plugin)
if currentItem.type != AccountMixin.ALL:
# preloaded gui.menu plugins with prefix 'address'
for plugin in self.menu_plugins['address']:
self.popMenuYourIdentities.addAction(plugin)
self.popMenuYourIdentities.addSeparator()
self.popMenuYourIdentities.addAction(self.actionMarkAllRead)

Loading…
Cancel
Save