Fix Hide Console Window stores opposite value
This commit is contained in:
Rémi Verschelde 2019-09-24 10:28:17 +02:00 committed by GitHub
commit 5d4e9bdd9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {