Add transient to overwrite status message dialog
This commit is contained in:
parent
43129638c4
commit
b9ae874a32
|
@ -813,7 +813,7 @@ class ChangeStatusMessageDialog(TimeoutDialog):
|
||||||
if msg_name in self.preset_messages_dict:
|
if msg_name in self.preset_messages_dict:
|
||||||
ConfirmationDialog(_('Overwrite Status Message?'),
|
ConfirmationDialog(_('Overwrite Status Message?'),
|
||||||
_('This name is already used. Do you want to overwrite this '
|
_('This name is already used. Do you want to overwrite this '
|
||||||
'status message?'), on_response_ok=on_ok2)
|
'status message?'), on_response_ok=on_ok2, transient_for=self.dialog)
|
||||||
return
|
return
|
||||||
gajim.config.add_per('statusmsg', msg_name)
|
gajim.config.add_per('statusmsg', msg_name)
|
||||||
on_ok2()
|
on_ok2()
|
||||||
|
|
Loading…
Reference in New Issue