diff options
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index cb67d26043..ced8d7227a 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2292,6 +2292,13 @@ bool Main::start() { } if (project_manager || editor) { + if (DisplayServer::get_singleton()->has_feature(DisplayServer::FEATURE_CONSOLE_WINDOW)) { + // Hide console window if requested (Windows-only). + bool hide_console = EditorSettings::get_singleton()->get_setting( + "interface/editor/hide_console_window"); + DisplayServer::get_singleton()->console_set_visible(!hide_console); + } + // Load SSL Certificates from Editor Settings (or builtin) Crypto::load_default_certificates(EditorSettings::get_singleton()->get_setting( "network/ssl/editor_ssl_certificates") |