Skip to content

Commit

Permalink
Update scenesettingsdialog.cpp
Browse files Browse the repository at this point in the history
Force dot separator for FPS input
  • Loading branch information
rodlie committed Aug 19, 2023
1 parent c8e6df6 commit 79e5440
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/GUI/Dialogs/scenesettingsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ SceneSettingsDialog::SceneSettingsDialog(const QString &name,

mFPSLabel = new QLabel("Fps:", this);
mFPSSpinBox = new QDoubleSpinBox(this);
mFPSSpinBox->setLocale(QLocale(QLocale::English,
QLocale::UnitedStates));
mFPSSpinBox->setRange(1, 300);
mFPSSpinBox->setValue(fps);

Expand Down

0 comments on commit 79e5440

Please sign in to comment.