Default to RosterWindow as transient for CommonInputDialog

This commit is contained in:
lovetox 2016-10-04 22:05:18 +02:00
parent a3fc0b6f5c
commit 922762afa5
1 changed files with 2 additions and 0 deletions

View File

@ -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')