Skip to content

Commit

Permalink
Fix incrementation of LcdSpinBox QInputDialog
Browse files Browse the repository at this point in the history
Closes #4218
  • Loading branch information
tresf committed Mar 6, 2018
1 parent 788c990 commit 38b69a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/widgets/LcdSpinBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ void LcdSpinBox::enterValue()
arg( model()->maxValue() ),
model()->value(),
model()->minValue(),
model()->maxValue(), 4, &ok );
model()->maxValue(),
model()->step<int>(), &ok );

if( ok )
{
Expand Down

0 comments on commit 38b69a7

Please sign in to comment.