From a7dcf39a3258b9e5ef08695db54cacc7ec108cd5 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 2 Nov 2018 17:33:09 +0000 Subject: [PATCH] [GTK3] Fix pathcombo getting folder name on wrong widget --- deluge/ui/gtk3/path_combo_chooser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtk3/path_combo_chooser.py b/deluge/ui/gtk3/path_combo_chooser.py index 91e8c2933..e0fb5ab58 100755 --- a/deluge/ui/gtk3/path_combo_chooser.py +++ b/deluge/ui/gtk3/path_combo_chooser.py @@ -1424,7 +1424,7 @@ class PathChooserComboBox(Gtk.Box, StoredValuesPopup, GObject.GObject): response_id = self.filechooserdialog.run() if response_id == 0: - text = self.filechooserdialog.get_filename() + text = self.filechooser_widget.get_filename() self.set_text(text, trigger_event=True) self.filechooserdialog.hide()