Raise rename dialog properly when already opened. Fixes #3230

This commit is contained in:
Stephan Erb 2007-06-16 16:52:51 +00:00
parent 2cd9fcf8db
commit 3606de3b67
1 changed files with 1 additions and 1 deletions

View File

@ -1668,7 +1668,7 @@ class RosterWindow:
def on_rename(self, widget, iter, path):
# this function is called either by F2 or by Rename menuitem
if gajim.interface.instances.has_key('rename'):
gajim.interface.instances['rename'].dialog.window.present()
gajim.interface.instances['rename'].dialog.present()
return
model = self.tree.get_model()