Skip to content

Commit 38b69a7

Browse files
committed
Fix incrementation of LcdSpinBox QInputDialog
Closes #4218
1 parent 788c990 commit 38b69a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/widgets/LcdSpinBox.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ void LcdSpinBox::enterValue()
178178
arg( model()->maxValue() ),
179179
model()->value(),
180180
model()->minValue(),
181-
model()->maxValue(), 4, &ok );
181+
model()->maxValue(),
182+
model()->step<int>(), &ok );
182183

183184
if( ok )
184185
{

0 commit comments

Comments
 (0)