Commit 36de7f49 authored by Frédéric Larue's avatar Frédéric Larue
Browse files

Default min and max values for UIParamInteger now set to std::numerical_limits<int>::min()/max().

parent de896092
......@@ -24,8 +24,8 @@ public:
const QString& name,
const QString& description,
int value,
int min = 0,
int max = 100,
int min = std::numeric_limits<int>::min(),
int max = std::numeric_limits<int>::max(),
int step = 1 );
inline void SetValue( int value ) { ((QSpinBox*)m_Widget)->setValue( value ); }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment