Fixed double features re-extraction when both detector and descriptor types are changed at the same time.

This commit is contained in:
matlabbe 2016-01-17 13:50:59 -05:00
parent ccb679e7c2
commit 9cc9868820

View File

@ -580,7 +580,10 @@ void ParametersToolBox::changeParameter(const int & value)
UASSERT(tmp.size() == 2);
QString newTmp = QString('0'+index)+":"+tmp.back();
Settings::setFeature2D_2Descriptor(newTmp);
descriptorBox->blockSignals(true);
this->updateParameter(Settings::kFeature2D_2Descriptor());
descriptorBox->blockSignals(false);
paramChanged.append(Settings::kFeature2D_2Descriptor());
}
else
{