Fix issue #2905 by using the file chooser's selected instead of the current folder.
This commit is contained in:
parent
31eef89118
commit
79a1c19c60
@ -333,8 +333,8 @@ void BatchQueuePanel::pathFolderButtonPressed ()
|
||||
int result = fc.run();
|
||||
|
||||
if (result == Gtk::RESPONSE_OK) {
|
||||
if (safe_file_test(fc.get_current_folder(), Glib::FILE_TEST_IS_DIR)) {
|
||||
options.savePathFolder = fc.get_current_folder();
|
||||
if (safe_file_test(fc.get_filename(), Glib::FILE_TEST_IS_DIR)) {
|
||||
options.savePathFolder = fc.get_filename();
|
||||
outdirFolderButton->set_label(makeFolderLabel(options.savePathFolder));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user