[GTK3] Fix pathcombo getting folder name on wrong widget

This commit is contained in:
Calum Lind 2018-11-02 17:33:09 +00:00
parent e43796ae51
commit a7dcf39a32
1 changed files with 1 additions and 1 deletions

View File

@ -1424,7 +1424,7 @@ class PathChooserComboBox(Gtk.Box, StoredValuesPopup, GObject.GObject):
response_id = self.filechooserdialog.run() response_id = self.filechooserdialog.run()
if response_id == 0: if response_id == 0:
text = self.filechooserdialog.get_filename() text = self.filechooser_widget.get_filename()
self.set_text(text, trigger_event=True) self.set_text(text, trigger_event=True)
self.filechooserdialog.hide() self.filechooserdialog.hide()