disable vignetting or distortion correction checkboxes if the selected lensfun profile doesn't support them
Patch by heckflosse
This commit is contained in:
@@ -250,6 +250,8 @@ void LensProfilePanel::updateLensfunWarning()
|
||||
if (l.getCropFactor() - c.getCropFactor() >= 0.01) {
|
||||
warning->show();
|
||||
}
|
||||
ckbUseVign->set_sensitive(l.hasVignettingCorrection());
|
||||
ckbUseDist->set_sensitive(l.hasDistortionCorrection());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user