Fixed bad GUI behavior in Color and Light - issue 6517
This commit is contained in:
parent
0599a5e96d
commit
19a4720ec7
@ -2090,6 +2090,7 @@ void LocallabColor::updateGUIToMode(const modeType new_type)
|
|||||||
case Normal:
|
case Normal:
|
||||||
// Expert mode widgets are hidden in Normal mode
|
// Expert mode widgets are hidden in Normal mode
|
||||||
structcol->hide();
|
structcol->hide();
|
||||||
|
gamc->hide();
|
||||||
blurcolde->hide();
|
blurcolde->hide();
|
||||||
strcolab->hide();
|
strcolab->hide();
|
||||||
strcolh->hide();
|
strcolh->hide();
|
||||||
@ -2138,6 +2139,7 @@ void LocallabColor::updateGUIToMode(const modeType new_type)
|
|||||||
// Show widgets hidden in Normal and Simple mode
|
// Show widgets hidden in Normal and Simple mode
|
||||||
structcol->show();
|
structcol->show();
|
||||||
blurcolde->show();
|
blurcolde->show();
|
||||||
|
gamc->show();
|
||||||
|
|
||||||
if (!invers->get_active()) { // Keep widget hidden when invers is toggled
|
if (!invers->get_active()) { // Keep widget hidden when invers is toggled
|
||||||
softradiuscol->show();
|
softradiuscol->show();
|
||||||
@ -2443,7 +2445,7 @@ void LocallabColor::updateColorGUI1()
|
|||||||
gamc->hide();
|
gamc->hide();
|
||||||
} else {
|
} else {
|
||||||
gridFrame->show();
|
gridFrame->show();
|
||||||
gamc->show();
|
gamc->hide();
|
||||||
|
|
||||||
if (mode == Expert) { // Keep widget hidden in Normal and Simple mode
|
if (mode == Expert) { // Keep widget hidden in Normal and Simple mode
|
||||||
structcol->show();
|
structcol->show();
|
||||||
@ -2463,6 +2465,7 @@ void LocallabColor::updateColorGUI1()
|
|||||||
HCurveEditorG->show();
|
HCurveEditorG->show();
|
||||||
H3CurveEditorG->show();
|
H3CurveEditorG->show();
|
||||||
expmaskcol1->show();
|
expmaskcol1->show();
|
||||||
|
gamc->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
showmaskcolMethod->show();
|
showmaskcolMethod->show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user