Solving issue 2263: "Settings of some tools are lost when enabling some option from File Browser"

This commit is contained in:
Hombrenatureh.510
2014-03-11 18:33:19 +01:00
parent aeeaf4de3c
commit 1d8061ed9a
5 changed files with 25 additions and 20 deletions

View File

@@ -1099,7 +1099,7 @@ void ColorAppearance::algoChanged () {
schroma->show();
qbright->hide();
colorh->hide();
tonecie->hide();
tonecie->hide();
// sharpcie->hide();
curveEditorG->show();
curveEditorG2->show();
@@ -1132,7 +1132,7 @@ void ColorAppearance::algoChanged () {
schroma->show();
qbright->show();
colorh->show();
tonecie->show();
tonecie->show();
// sharpcie->show();
// sharpcie->hide();
curveEditorG->show();
@@ -1167,19 +1167,18 @@ void ColorAppearance::setBatchMode (bool batchMode) {
wbmodel->append_text (M("GENERAL_UNCHANGED"));
algo->append_text (M("GENERAL_UNCHANGED"));
toneCurveMode->append_text (M("GENERAL_UNCHANGED"));
// toneCurveMode2->append_text (M("GENERAL_UNCHANGED"));
// toneCurveMode3->append_text (M("GENERAL_UNCHANGED"));
toneCurveMode2->append_text (M("GENERAL_UNCHANGED"));
toneCurveMode3->append_text (M("GENERAL_UNCHANGED"));
curveEditorG->setBatchMode (batchMode);
// curveEditorG2->setBatchMode (batchMode);
// curveEditorG3->setBatchMode (batchMode);
curveEditorG2->setBatchMode (batchMode);
curveEditorG3->setBatchMode (batchMode);
}
void ColorAppearance::updateCurveBackgroundHistogram (LUTu & histToneCurve, LUTu & histLCurve, LUTu & histCCurve, LUTu & histCLurve, LUTu & histLLCurve, LUTu & histLCAM, LUTu & histCCAM, LUTu & histRed, LUTu & histGreen, LUTu & histBlue, LUTu & histLuma){
shape->updateBackgroundHistogram (histLCAM);
shape3->updateBackgroundHistogram (histCCAM);
}