Skip to content
Snippets Groups Projects
Commit 44fa3389 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: turning AutomaticValue to Off when a UserValue is set

parent d3d12680
Branches
Tags
No related merge requests found
...@@ -84,6 +84,7 @@ void QtWidgetFloatParameter::SetValue(double value) ...@@ -84,6 +84,7 @@ void QtWidgetFloatParameter::SetValue(double value)
{ {
m_FloatParam->SetValue( static_cast<float>(value) ); m_FloatParam->SetValue( static_cast<float>(value) );
m_FloatParam->SetUserValue(true); m_FloatParam->SetUserValue(true);
m_FloatParam->SetAutomaticValue(false);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment