Skip to content

Commit

Permalink
Fallback to primary screen if no window layout is saved in project me…
Browse files Browse the repository at this point in the history
…tadata.
  • Loading branch information
bruvzg committed Jan 10, 2025
1 parent 24d7451 commit 65f94b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2925,6 +2925,10 @@ Error Main::setup2(bool p_show_boot_logo) {
}
}

if (init_screen == EditorSettings::InitialScreen::INITIAL_SCREEN_AUTO) {
init_screen = DisplayServer::SCREEN_PRIMARY;
}

OS::get_singleton()->benchmark_end_measure("Startup", "Initialize Early Settings");
}
#endif
Expand Down

0 comments on commit 65f94b1

Please sign in to comment.