1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

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

This reverts commit 4f7a49db53.
This commit is contained in:
bruvzg
2020-08-17 19:05:48 +03:00
parent ba1109a3b3
commit 03ffd6451a
6 changed files with 18 additions and 27 deletions

View File

@@ -2624,6 +2624,7 @@ 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();