Small bugfix in rtgui/retinex.cc, no issue
This commit is contained in:
@@ -998,11 +998,13 @@ void Retinex::write (ProcParams* pp, ParamsEdited* pedited)
|
||||
void Retinex::retinexMethodChanged()
|
||||
{
|
||||
|
||||
if (!batchMode) {
|
||||
if(retinexMethod->get_active_row_number() == 3) {
|
||||
highl->show();
|
||||
} else {
|
||||
highl->hide();
|
||||
}
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
listener->panelChanged (EvretinexMethod, retinexMethod->get_active_text ());
|
||||
@@ -1014,6 +1016,7 @@ void Retinex::retinexMethodChanged()
|
||||
void Retinex::mapMethodChanged()
|
||||
{
|
||||
|
||||
if (!batchMode) {
|
||||
if(mapMethod->get_active_row_number() == 1 /*|| mapMethod->get_active_row_number() == 2*/) {
|
||||
curveEditormap->show();
|
||||
highlights->show();
|
||||
@@ -1035,7 +1038,7 @@ void Retinex::mapMethodChanged()
|
||||
shadows->hide();
|
||||
s_tonalwidth->hide();
|
||||
radius->hide();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (listener) {
|
||||
|
Reference in New Issue
Block a user