Skip to content

Commit

Permalink
Fix value correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementPasteau committed Jun 18, 2024
1 parent 489395d commit e24fe90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newIDE/app/src/MainFrame/Preferences/PreferencesDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const PreferencesDialog = ({ i18n, onClose }: Props) => {
<SelectField
floatingLabelText={<Trans>Indent Scale in Events Sheet</Trans>}
fullWidth
value={values.eventsSheetIndentScale}
value={values.eventsSheetIndentScale.toString()}
onChange={(e, i, value) => {
setEventsSheetIndentScale(parseInt(value, 10));
}}
Expand Down

0 comments on commit e24fe90

Please sign in to comment.