diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-24 10:28:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 10:28:17 +0200 |
commit | 5d4e9bdd9e0d77cfeaa6994c391a107d2a17706a (patch) | |
tree | c922f4abbe9d6034087094930170b1cbe93683c5 | |
parent | 4bdb3f4016fdddc648e4c92a93f5247d4f2c1689 (diff) | |
parent | c46d1725334108f9c1a1772299e391d0cc3f67be (diff) |
Merge pull request #32288 from CorattiS86/fixing_#32263
Fix Hide Console Window stores opposite value
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index e1bbe4b923..1196a26882 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -2519,7 +2519,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) { bool was_visible = OS::get_singleton()->is_console_visible(); OS::get_singleton()->set_console_visible(!was_visible); - EditorSettings::get_singleton()->set_setting("interface/editor/hide_console_window", !was_visible); + EditorSettings::get_singleton()->set_setting("interface/editor/hide_console_window", was_visible); } break; case EDITOR_SCREENSHOT: { |