little bugfix in edit bookmarks window
This commit is contained in:
parent
b1aa610c08
commit
ceac638b89
|
@ -2411,7 +2411,7 @@ class ManageBookmarksWindow:
|
||||||
(model, iter) = self.selection.get_selected()
|
(model, iter) = self.selection.get_selected()
|
||||||
if not iter:
|
if not iter:
|
||||||
#Nothing selected, do nothing
|
#Nothing selected, do nothing
|
||||||
pass
|
return
|
||||||
#FIXME: ErrorDialog
|
#FIXME: ErrorDialog
|
||||||
|
|
||||||
parent = model.iter_parent(iter)
|
parent = model.iter_parent(iter)
|
||||||
|
@ -2435,7 +2435,7 @@ class ManageBookmarksWindow:
|
||||||
if not iter:
|
if not iter:
|
||||||
#Nothing selected
|
#Nothing selected
|
||||||
return
|
return
|
||||||
elif not model.iter_parent(iter):
|
if not model.iter_parent(iter):
|
||||||
#Don't remove account iters
|
#Don't remove account iters
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -2493,4 +2493,4 @@ class ManageBookmarksWindow:
|
||||||
self.server_entry.set_text('')
|
self.server_entry.set_text('')
|
||||||
self.pass_entry.set_text('')
|
self.pass_entry.set_text('')
|
||||||
self.nick_entry.set_text('')
|
self.nick_entry.set_text('')
|
||||||
|
self.autojoin_checkbutton.set_active(False)
|
||||||
|
|
Loading…
Reference in New Issue