From 5a0e4de6078efec8171b8154f95e1574c813126d Mon Sep 17 00:00:00 2001 From: heckflosse Date: Fri, 13 Oct 2017 21:23:21 +0200 Subject: [PATCH] When no lcp is selected, rt does not show (none), fixes #4143 --- rtgui/lensprofile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/lensprofile.cc b/rtgui/lensprofile.cc index 899ef289e..8da352834 100644 --- a/rtgui/lensprofile.cc +++ b/rtgui/lensprofile.cc @@ -177,7 +177,7 @@ void LensProfilePanel::read(const rtengine::procparams::ProcParams* pp, const Pa if (pp->lensProf.lcpFile.empty()) { Glib::ustring lastFolder = fcbLCPFile->get_current_folder(); fcbLCPFile->set_current_folder(lastFolder); - fcbLCPFile->set_filename(lastFolder + "/."); + fcbLCPFile->unselect_all(); bindCurrentFolder(*fcbLCPFile, options.lastLensProfileDir); updateDisabled(false); } else if (LCPStore::getInstance()->isValidLCPFileName(pp->lensProf.lcpFile)) {