From 922762afa50d302eda6363306d09fa9b98ce2e89 Mon Sep 17 00:00:00 2001 From: lovetox Date: Tue, 4 Oct 2016 22:05:18 +0200 Subject: [PATCH] Default to RosterWindow as transient for CommonInputDialog --- src/dialogs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index 6dbdb0e85..06f223aa2 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -2017,6 +2017,8 @@ class CommonInputDialog: self.vbox = self.xml.get_object('vbox') if transient_for: self.dialog.set_transient_for(transient_for) + else: + self.dialog.set_transient_for(gajim.interface.roster.window) self.ok_handler = ok_handler okbutton = self.xml.get_object('okbutton')