This fixes simple copy-paste error that the DoubleSpinBoxDelegate range was stored as int, thus rounding min value from 0.2 to 0.
Signed-off-by: Anton Lundin <[email protected]> --- qt-ui/modeldelegates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt-ui/modeldelegates.h b/qt-ui/modeldelegates.h index 7679766..562111d 100644 --- a/qt-ui/modeldelegates.h +++ b/qt-ui/modeldelegates.h @@ -104,8 +104,8 @@ public: DoubleSpinBoxDelegate(qreal min, qreal max, QObject *parent = 0); virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const; private: - int min; - int max; + qreal min; + qreal max; }; #endif // MODELDELEGATES_H -- 1.9.1 _______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
