[Windows] Attach to parent console instead of creating new one.

This commit is contained in:
bruvzg
2020-08-10 10:41:06 +03:00
parent f2149fe763
commit 4f7a49db53
6 changed files with 27 additions and 18 deletions
-1
View File
@@ -2620,7 +2620,6 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
case SETTINGS_TOGGLE_CONSOLE: {
bool was_visible = DisplayServer::get_singleton()->is_console_visible();
DisplayServer::get_singleton()->console_set_visible(!was_visible);
EditorSettings::get_singleton()->set_setting("interface/editor/hide_console_window", was_visible);
} break;
case EDITOR_SCREENSHOT: {
screenshot_timer->start();