mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
Fix addtorrentdialog due to config class changes
This commit is contained in:
parent
e0137b6a4c
commit
35e41e3b17
1 changed files with 16 additions and 16 deletions
|
@ -487,8 +487,8 @@ class AddTorrentDialog(component.Component):
|
||||||
|
|
||||||
# Load the 'default_load_path' from the config
|
# Load the 'default_load_path' from the config
|
||||||
self.config = ConfigManager("gtkui.conf")
|
self.config = ConfigManager("gtkui.conf")
|
||||||
if self.config.get("default_load_path") is not None:
|
if self.config["default_load_path"] is not None:
|
||||||
chooser.set_current_folder(self.config.get("default_load_path"))
|
chooser.set_current_folder(self.config["default_load_path"])
|
||||||
|
|
||||||
# Run the dialog
|
# Run the dialog
|
||||||
response = chooser.run()
|
response = chooser.run()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue