"A connection is not available" transient for chat control. Fixes#7098
This commit is contained in:
parent
4b33634a0b
commit
720a67c859
1 changed files with 2 additions and 1 deletions
|
@ -830,7 +830,8 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
|
||||||
if gajim.connections[self.account].connected < 2 and send_message:
|
if gajim.connections[self.account].connected < 2 and send_message:
|
||||||
# we are not connected
|
# we are not connected
|
||||||
dialogs.ErrorDialog(_('A connection is not available'),
|
dialogs.ErrorDialog(_('A connection is not available'),
|
||||||
_('Your message can not be sent until you are connected.'))
|
_('Your message can not be sent until you are connected.'),
|
||||||
|
transient_for=self.parent_win.window)
|
||||||
send_message = False
|
send_message = False
|
||||||
|
|
||||||
if send_message:
|
if send_message:
|
||||||
|
|
Loading…
Add table
Reference in a new issue