[steve-e] Add new bookmark before trying to select it. Fixes #3199.
This commit is contained in:
parent
3859de42cc
commit
0c04e296c2
|
@ -2589,9 +2589,9 @@ class ManageBookmarksWindow:
|
||||||
nick = gajim.nicks[account]
|
nick = gajim.nicks[account]
|
||||||
iter_ = self.treestore.append(add_to, [account, _('New Group Chat'), '',
|
iter_ = self.treestore.append(add_to, [account, _('New Group Chat'), '',
|
||||||
False, '', nick, 'in_and_out'])
|
False, '', nick, 'in_and_out'])
|
||||||
self.view.set_cursor(model.get_path(iter_))
|
|
||||||
|
|
||||||
self.view.expand_row(model.get_path(add_to), True)
|
self.view.expand_row(model.get_path(add_to), True)
|
||||||
|
self.view.set_cursor(model.get_path(iter_))
|
||||||
|
|
||||||
def on_remove_bookmark_button_clicked(self, widget):
|
def on_remove_bookmark_button_clicked(self, widget):
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue