prevent traceback. Fixes #5269
This commit is contained in:
parent
709dba715a
commit
4e4a91dbe1
|
@ -1698,6 +1698,7 @@ class ChangeNickDialog(InputDialogCheck):
|
|||
if len(self.room_queue) == 0:
|
||||
self.cancel_handler = None
|
||||
self.dialog.destroy()
|
||||
if 'change_nick_dialog' in gajim.interface.instances:
|
||||
del gajim.interface.instances['change_nick_dialog']
|
||||
return
|
||||
self.account, self.room_jid, self.prompt = self.room_queue.pop(0)
|
||||
|
|
Loading…
Reference in New Issue