mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
Fix preferences dialog not opening with main window on Windows
This commit is contained in:
parent
a1949bc020
commit
debae00246
@ -68,6 +68,7 @@ class Preferences(component.Component):
|
||||
"deluge.ui.gtkui", os.path.join("glade", "preferences_dialog.ui")
|
||||
))
|
||||
self.pref_dialog = self.builder.get_object("pref_dialog")
|
||||
self.pref_dialog.set_transient_for(component.get("MainWindow").window)
|
||||
self.pref_dialog.set_icon(common.get_deluge_icon())
|
||||
self.treeview = self.builder.get_object("treeview")
|
||||
self.notebook = self.builder.get_object("notebook")
|
||||
|
Loading…
x
Reference in New Issue
Block a user