Changed max and min value for double spin box in table of variables.
--HG-- branch : develop
This commit is contained in:
parent
23a7efbc6a
commit
1f89b0038a
|
@ -56,8 +56,8 @@
|
||||||
QWidget *DoubleSpinBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &/* option */,
|
QWidget *DoubleSpinBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &/* option */,
|
||||||
const QModelIndex &/* index */) const{
|
const QModelIndex &/* index */) const{
|
||||||
QDoubleSpinBox *editor = new QDoubleSpinBox(parent);
|
QDoubleSpinBox *editor = new QDoubleSpinBox(parent);
|
||||||
editor->setMinimum(-1000.0);
|
editor->setMinimum(-10000.0);
|
||||||
editor->setMaximum(1000.0);
|
editor->setMaximum(10000.0);
|
||||||
|
|
||||||
return editor;
|
return editor;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user