Set parent for server error dialog in disco
This commit is contained in:
parent
b9ff018a03
commit
9110ad90d5
1 changed files with 2 additions and 1 deletions
|
@ -832,7 +832,8 @@ _('Without a connection, you can not browse available services'))
|
||||||
jid = helpers.parse_jid(jid)
|
jid = helpers.parse_jid(jid)
|
||||||
except helpers.InvalidFormat as s:
|
except helpers.InvalidFormat as s:
|
||||||
pritext = _('Invalid Server Name')
|
pritext = _('Invalid Server Name')
|
||||||
dialogs.ErrorDialog(pritext, str(s))
|
dialogs.ErrorDialog(pritext, str(s),
|
||||||
|
transient_for=self.window)
|
||||||
return
|
return
|
||||||
if jid == self.jid: # jid has not changed
|
if jid == self.jid: # jid has not changed
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue