Auto disable of "ICC standard profile" when non is available
see issue 938 (should have committed this before 4.0.3 :-( )
This commit is contained in:
@@ -408,14 +408,14 @@ void ICMPanel::opChanged () {
|
||||
listener->panelChanged (EvOProfile, onames->get_active_text());
|
||||
}
|
||||
|
||||
void ICMPanel::setRaw (bool raw) {
|
||||
void ICMPanel::setRawMeta (bool raw, const rtengine::ImageData* pMeta) {
|
||||
|
||||
disableListener ();
|
||||
|
||||
icamera->set_active (raw);
|
||||
iembedded->set_active (!raw);
|
||||
icamera->set_sensitive (raw);
|
||||
icameraICC->set_sensitive (raw);
|
||||
icameraICC->set_sensitive (raw && iccStore->getStdProfile(pMeta->getCamera()) != NULL);
|
||||
iembedded->set_sensitive (!raw);
|
||||
|
||||
enableListener ();
|
||||
|
Reference in New Issue
Block a user