Suppress dispaly Student itcwb in Pick

This commit is contained in:
Desmis
2020-02-25 13:19:52 +01:00
parent eeb24af8f0
commit 352873ea30
2 changed files with 5 additions and 2 deletions

View File

@@ -494,9 +494,9 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
}
// if (params->wb.method == "Auto" && awbListener && params->wb.enabled) {
if (autowb && awbListener) {
if (autowb && awbListener && params->wb.method == "autitcgreen") {
awbListener->WBChanged(params->wb.temperature, params->wb.green, studgood);
}
}
/*
GammaValues g_a;

View File

@@ -461,6 +461,7 @@ void WhiteBalance::optChanged ()
methconn.block(prevState);
return;
}
StudLabel->hide();
if (opt != row[methodColumns.colId]) {
@@ -566,6 +567,8 @@ void WhiteBalance::optChanged ()
void WhiteBalance::spotPressed ()
{
StudLabel->hide();
if (wblistener) {
wblistener->spotWBRequested (getSize());
}