small bug in GUI

This commit is contained in:
Desmis 2015-09-12 08:09:32 +02:00
parent 9b73dfb916
commit e8d1e14282

View File

@ -432,13 +432,16 @@ void Retinex::retinexMethodChanged()
void Retinex::ColorSpaceUpdateUI ()
{
if (!batchMode) {
if (!batchMode) {
if(retinexcolorspace->get_active_row_number() == 0) {
curveEditorGD->show();
curveEditorGDH->hide();
} else if(retinexcolorspace->get_active_row_number() == 1) {
curveEditorGD->hide();
curveEditorGDH->show();
} else if(retinexcolorspace->get_active_row_number() == 2) {
curveEditorGD->hide();
curveEditorGDH->show();
}
}
}