Skip to content

Commit 88d81c9

Browse files
Merge pull request #29283 from mathesoncalum/29221-welcome_dialog_instances
Fix #29221: Only show welcome dialog in one instance of MuseScore Studio
2 parents fbaac0b + b86a1ee commit 88d81c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/appshell/internal/startupscenario.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ void StartupScenario::onStartupPageOpened(StartupModeType modeType)
327327
configuration()->setWelcomeDialogLastShownIndex(-1); // reset
328328
}
329329

330-
if (configuration()->welcomeDialogShowOnStartup() && !museSoundsUpdateScenario()->hasUpdate()) {
330+
const size_t numInstances = multiInstancesProvider()->instances().size();
331+
if (numInstances == 1 && configuration()->welcomeDialogShowOnStartup() && !museSoundsUpdateScenario()->hasUpdate()) {
331332
showWelcomeDialog();
332333
}
333334

0 commit comments

Comments
 (0)