Bug fix: the monitor profile and softproofing profile are now computed

automatically even without special trigger event. The order of the
Monitor Intent is now correct.
This commit is contained in:
Hombre
2016-08-29 21:04:59 +02:00
parent a1981dbd4d
commit 7c7cb9f9f1
5 changed files with 17 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ private:
void prepareIntentBox ()
{
// same order than the enum
// same order as the enum
intentBox.addEntry("intent-perceptual.png", M("PREFERENCES_INTENT_PERCEPTUAL"));
intentBox.addEntry("intent-relative.png", M("PREFERENCES_INTENT_RELATIVE"));
intentBox.addEntry("intent-absolute.png", M("PREFERENCES_INTENT_ABSOLUTE"));
@@ -177,10 +177,10 @@ private:
switch (intentBox.getSelected ()) {
default:
case 0:
intent = rtengine::RI_RELATIVE;
intent = rtengine::RI_PERCEPTUAL;
break;
case 1:
intent = rtengine::RI_PERCEPTUAL;
intent = rtengine::RI_RELATIVE;
break;
case 2:
intent = rtengine::RI_ABSOLUTE;