Gray-out Retinex tool when editing non-raw image

Closes #4795
This commit is contained in:
Morgan Hardwood
2018-09-11 20:08:01 +02:00
parent ea992fc91f
commit dc34658683
5 changed files with 24 additions and 1 deletions

View File

@@ -146,5 +146,14 @@ void FoldableToolPanel::setEnabledTooltipText(Glib::ustring tooltipText)
}
}
void FoldableToolPanel::setGrayedOut(bool doGrayOut)
{
if (doGrayOut) {
exp->setEnabled(false);
exp->set_expanded(false);
exp->setSensitive(false);
} else {
exp->setSensitive(true);
}
}