Fix addtorrentdialog due to config class changes
This commit is contained in:
parent
e0137b6a4c
commit
35e41e3b17
|
@ -487,8 +487,8 @@ class AddTorrentDialog(component.Component):
|
|||
|
||||
# Load the 'default_load_path' from the config
|
||||
self.config = ConfigManager("gtkui.conf")
|
||||
if self.config.get("default_load_path") is not None:
|
||||
chooser.set_current_folder(self.config.get("default_load_path"))
|
||||
if self.config["default_load_path"] is not None:
|
||||
chooser.set_current_folder(self.config["default_load_path"])
|
||||
|
||||
# Run the dialog
|
||||
response = chooser.run()
|
||||
|
|
Loading…
Reference in New Issue