Guard processor in editorpanel.cc (#3578)

This commit is contained in:
Flössie 2017-01-07 11:51:22 +01:00
parent a7b670dc27
commit 414f28e806

View File

@ -235,6 +235,7 @@ private:
#if !defined(__APPLE__) // monitor profile not supported on apple #if !defined(__APPLE__) // monitor profile not supported on apple
if (profileBox.get_active_row_number () > 0) { if (profileBox.get_active_row_number () > 0) {
#endif #endif
if (processor) {
if (!noEvent) { if (!noEvent) {
processor->beginUpdateParams (); processor->beginUpdateParams ();
} }
@ -242,6 +243,7 @@ private:
if (!noEvent) { if (!noEvent) {
processor->endUpdateParams (rtengine::EvMonitorTransform); processor->endUpdateParams (rtengine::EvMonitorTransform);
} }
}
#if !defined(__APPLE__) // monitor profile not supported on apple #if !defined(__APPLE__) // monitor profile not supported on apple
} }
#endif #endif