FileChooser-using tools applied unintentionally (SETM), Issue 2259
This commit is contained in:
@@ -84,9 +84,14 @@ void LensProfilePanel::read(const rtengine::procparams::ProcParams* pp, const Pa
|
||||
fcbLCPFile->set_filename (pp->lensProf.lcpFile);
|
||||
updateDisabled(true);
|
||||
} else {
|
||||
Glib::ustring fname = fcbLCPFile->get_filename();
|
||||
Glib::ustring fname = fcbLCPFile->get_filename();
|
||||
if (!pp->lensProf.lcpFile.empty())
|
||||
fcbLCPFile->unselect_filename(fname);
|
||||
fcbLCPFile->unselect_filename(fname);
|
||||
else {
|
||||
Glib::ustring lastFolder = fcbLCPFile->get_current_folder();
|
||||
fcbLCPFile->set_filename("");
|
||||
fcbLCPFile->set_current_folder(lastFolder);
|
||||
}
|
||||
updateDisabled(false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user