Commit b8409a01 authored by Dicson's avatar Dicson

"A connection is not available" transient for chat control. Fixes#7098

parent 7bb6b894
......@@ -798,7 +798,8 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
if gajim.connections[self.account].connected < 2 and send_message:
# we are not connected
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
if send_message:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment