Raise correct dialog on account removal

Fixes #8941
This commit is contained in:
Philipp Hörist 2018-03-07 18:50:28 +01:00
parent cba6336e8f
commit 4aeaf6d3bc
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class AccountsWindow(Gtk.ApplicationWindow):
def on_remove_account(self, button, account): def on_remove_account(self, button, account):
if app.events.get_events(account): if app.events.get_events(account):
app.interface.raise_dialog('unread-events-on-remove') app.interface.raise_dialog('unread-events-on-remove-account')
return return
if app.config.get_per('accounts', account, 'is_zeroconf'): if app.config.get_per('accounts', account, 'is_zeroconf'):