diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-10 12:48:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 12:48:38 +0200 |
commit | 32cc267906dca8281ebcb1c06b9055668082bd4a (patch) | |
tree | 226db18a05187ebd9c3ded6701ca23a96a8263db | |
parent | fd74dd15ad148ead0d7c2aa867aebfa8e58b06a9 (diff) | |
parent | e8e06b2c9a83b88bc9532f92ba9c97309ce2651c (diff) |
Merge pull request #21927 from akien-mga/pm-editor-hint
Set editor hint for the project manager
-rw-r--r-- | main/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index a336496d39..a50a8827cd 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", "")) == "") { |