select iter when we add a bookmark. fixes #2889
This commit is contained in:
parent
17fa45890e
commit
9cbdad9df5
|
@ -2740,8 +2740,9 @@ class ManageBookmarksWindow:
|
|||
|
||||
account = model[add_to][1].decode('utf-8')
|
||||
nick = gajim.nicks[account]
|
||||
self.treestore.append(add_to, [account, _('New Group Chat'), '', False,
|
||||
'', nick, 'in_and_out'])
|
||||
iter_ = self.treestore.append(add_to, [account, _('New Group Chat'), '',
|
||||
False, '', nick, 'in_and_out'])
|
||||
self.view.set_cursor(model.get_path(iter_))
|
||||
|
||||
self.view.expand_row(model.get_path(add_to), True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue