Select account in account list if edited
Before: After a rightclick -> "Modify Account" on an account in the roster the preferences of the account are shown but the account is not selected in the account list. After: account will be selected in the account list too
This commit is contained in:
parent
c38db84e04
commit
e9a4b372e2
|
@ -225,6 +225,7 @@ class AccountsWindow(Gtk.ApplicationWindow):
|
|||
def select_account(self, account):
|
||||
for row in self.account_list.get_children():
|
||||
if row.get_child().account == account:
|
||||
self.account_list.select_row(row)
|
||||
self.account_list.emit('row-activated', row)
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue