Skip to content

Commit b86a1ee

Browse files
committed
Only show welcome dialog in one instance of MuseScore Studio
1 parent 9fb44d0 commit b86a1ee

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)