Raise rename dialog properly when already opened. Fixes #3230
This commit is contained in:
parent
2cd9fcf8db
commit
3606de3b67
|
@ -1668,7 +1668,7 @@ class RosterWindow:
|
||||||
def on_rename(self, widget, iter, path):
|
def on_rename(self, widget, iter, path):
|
||||||
# this function is called either by F2 or by Rename menuitem
|
# this function is called either by F2 or by Rename menuitem
|
||||||
if gajim.interface.instances.has_key('rename'):
|
if gajim.interface.instances.has_key('rename'):
|
||||||
gajim.interface.instances['rename'].dialog.window.present()
|
gajim.interface.instances['rename'].dialog.present()
|
||||||
return
|
return
|
||||||
model = self.tree.get_model()
|
model = self.tree.get_model()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue