Disable masks when tool is disable
This commit is contained in:
@@ -741,8 +741,10 @@ void LocallabTone::showmasktmMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1864,8 +1866,10 @@ void LocallabRetinex::showmaskretiMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2318,8 +2322,10 @@ void LocallabSharp::showmasksharMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4242,8 +4248,10 @@ void LocallabContrast::showmasklcMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5073,8 +5081,10 @@ void LocallabCBDL::showmaskcbMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5938,8 +5948,10 @@ void LocallabLog::showmaskLMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7226,8 +7238,10 @@ void LocallabMask::showmask_MethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user