Gui adv. search: when toggling from prox to phrase, slack stayed at 10

This commit is contained in:
Jean-Francois Dockes 2013-11-09 11:37:05 +01:00
parent bd100b61cb
commit bb3fc54400

View File

@ -208,6 +208,8 @@ void SearchClauseW::tpChange(int index)
proxSlackSB->setEnabled(true);
if (index == 4)
proxSlackSB->setValue(10);
else
proxSlackSB->setValue(0);
break;
default:
proxSlackSB->close();