When no lcp is selected, rt does not show (none), fixes #4143
This commit is contained in:
@@ -177,7 +177,7 @@ void LensProfilePanel::read(const rtengine::procparams::ProcParams* pp, const Pa
|
|||||||
if (pp->lensProf.lcpFile.empty()) {
|
if (pp->lensProf.lcpFile.empty()) {
|
||||||
Glib::ustring lastFolder = fcbLCPFile->get_current_folder();
|
Glib::ustring lastFolder = fcbLCPFile->get_current_folder();
|
||||||
fcbLCPFile->set_current_folder(lastFolder);
|
fcbLCPFile->set_current_folder(lastFolder);
|
||||||
fcbLCPFile->set_filename(lastFolder + "/.");
|
fcbLCPFile->unselect_all();
|
||||||
bindCurrentFolder(*fcbLCPFile, options.lastLensProfileDir);
|
bindCurrentFolder(*fcbLCPFile, options.lastLensProfileDir);
|
||||||
updateDisabled(false);
|
updateDisabled(false);
|
||||||
} else if (LCPStore::getInstance()->isValidLCPFileName(pp->lensProf.lcpFile)) {
|
} else if (LCPStore::getInstance()->isValidLCPFileName(pp->lensProf.lcpFile)) {
|
||||||
|
Reference in New Issue
Block a user