Automatically disable Auto-Fill when enabling LCP Disortion Correction, #1791
This commit is contained in:
@@ -142,6 +142,10 @@ void LensProfilePanel::write( rtengine::procparams::ProcParams* pp, ParamsEdited
|
||||
|
||||
void LensProfilePanel::onLCPFileChanged()
|
||||
{
|
||||
|
||||
// Disable Auto-Fill when enabling LCP Distortion Correction, #1791
|
||||
lensgeomLcpFill->disableAutoFillIfActive();
|
||||
|
||||
lcpFileChanged = true;
|
||||
updateDisabled(lcpStore->isValidLCPFileName(fcbLCPFile->get_filename()));
|
||||
|
||||
@@ -164,6 +168,12 @@ void LensProfilePanel::onLCPFileReset()
|
||||
|
||||
void LensProfilePanel::onUseDistChanged()
|
||||
{
|
||||
|
||||
// Disable Auto-Fill when enabling LCP Distortion Correction, #1791
|
||||
if (ckbUseDist->get_active()) {
|
||||
lensgeomLcpFill->disableAutoFillIfActive();
|
||||
}
|
||||
|
||||
useDistChanged = true;
|
||||
|
||||
if (listener) {
|
||||
|
Reference in New Issue
Block a user