Disable masks when tool is disable
This commit is contained in:
@@ -2294,9 +2294,10 @@ void LocallabColor::showmaskcolMethodChanged()
|
||||
if (locToolListener) {
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2311,9 +2312,10 @@ void LocallabColor::showmaskcolMethodChangedinv()
|
||||
if (locToolListener) {
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3709,8 +3711,10 @@ void LocallabExposure::showmaskexpMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3726,8 +3730,10 @@ void LocallabExposure::showmaskexpMethodChangedinv()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4851,8 +4857,10 @@ void LocallabShadow::showmaskSHMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4868,8 +4876,10 @@ void LocallabShadow::showmaskSHMethodChangedinv()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5882,8 +5892,10 @@ void LocallabVibrance::showmaskvibMethodChanged()
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6289,9 +6301,10 @@ void LocallabSoft::showmasksoftMethodChanged()
|
||||
if (locToolListener) {
|
||||
locToolListener->resetOtherMaskView(this);
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
if(exp->getEnabled()) {
|
||||
if (listener) {
|
||||
listener->panelChanged(EvlocallabshowmaskMethod, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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