From e5650b86d401e8afac1bba1bbc56c918f748aa85 Mon Sep 17 00:00:00 2001 From: Stephan Roos Date: Sun, 1 Mar 2026 12:11:03 +0200 Subject: [PATCH] Fixed an issue causing left justification to not apply after saving --- whistle_tab_generator/whistle_tab_generator.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/whistle_tab_generator/whistle_tab_generator.qml b/whistle_tab_generator/whistle_tab_generator.qml index ae7569a..e0d4bef 100644 --- a/whistle_tab_generator/whistle_tab_generator.qml +++ b/whistle_tab_generator/whistle_tab_generator.qml @@ -519,11 +519,11 @@ MuseScore { currentProfileIndex = 0 // Load global settings (fall back to defaults if stored value is undefined) - userFontSize = pluginSettings.storedFontSize || defaultFontSize - userJustification = pluginSettings.storedJustification || defaultJustification - userOffsetY = pluginSettings.storedOffsetY || defaultOffsetY - userLineSpacing = pluginSettings.storedLineSpacing || defaultLineSpacing - userFontFamily = pluginSettings.storedFontFamily || defaultFontFamily + userFontSize = pluginSettings.storedFontSize ?? defaultFontSize + userJustification = pluginSettings.storedJustification ?? defaultJustification + userOffsetY = pluginSettings.storedOffsetY ?? defaultOffsetY + userLineSpacing = pluginSettings.storedLineSpacing ?? defaultLineSpacing + userFontFamily = pluginSettings.storedFontFamily ?? defaultFontFamily if (typeof fontFamilyField !== 'undefined') {