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
|
# 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…
Reference in New Issue