From a8104ea9476d3aff77628ba14ed0e14db7c42975 Mon Sep 17 00:00:00 2001 From: Desmis Date: Sun, 23 Apr 2017 12:47:39 +0200 Subject: [PATCH] Small changes to GUI --- rtgui/locallab.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index 37c34fb3d..711b9aef8 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -1618,6 +1618,11 @@ void Locallab::localretChanged (int **datasp, std::string datastr, std::string void Locallab::read (const ProcParams* pp, const ParamsEdited* pedited) { + anbspot->hide(); + hueref->hide(); + chromaref->hide(); + lumaref->hide(); + disableListener (); enablecolorConn.block (true); enableblurConn.block (true); @@ -3030,6 +3035,10 @@ void Locallab::adjusterChanged (Adjuster * a, double newval) void Locallab::enabledChanged () { + anbspot->hide(); + hueref->hide(); + chromaref->hide(); + lumaref->hide(); if (listener) { if (get_inconsistent()) { @@ -3147,6 +3156,11 @@ void Locallab::setBatchMode (bool batchMode) { removeIfThere (this, edit, false); ToolPanel::setBatchMode (batchMode); + + hueref->hide (); + chromaref->hide (); + lumaref->hide (); + degree->showEditedCB (); locY->showEditedCB (); locX->showEditedCB ();