Skip to content
Snippets Groups Projects
Commit ce5952f2 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH: correct trouble in allowed value in IntParameter

parent 4e5013bb
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,10 @@ void QtWidgetIntParameter::DoCreateWidget()
void QtWidgetIntParameter::DoUpdateGUI()
{
// TODO : search for a better solution
m_QSpinBox->setRange(m_IntParam->GetMinimumValue(),
m_IntParam->GetMaximumValue());
bool signalsBlocked = m_QSpinBox->blockSignals( true );
if (m_IntParam->HasValue())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment