From e8e06b2c9a83b88bc9532f92ba9c97309ce2651c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 10 Sep 2018 12:39:01 +0200 Subject: [PATCH] Set editor hint for the project manager Fixes #21823. --- main/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/main.cpp b/main/main.cpp index a336496d39a..a50a8827cdc 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -792,6 +792,10 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph // Determine if the project manager should be requested project_manager = main_args.size() == 0 && !found_project; } + + if (project_manager) { + Engine::get_singleton()->set_editor_hint(true); + } #endif if (main_args.size() == 0 && String(GLOBAL_DEF("application/run/main_scene", "")) == "") {