Merge pull request #32288 from CorattiS86/fixing_#32263
Fix Hide Console Window stores opposite value
This commit is contained in:
commit
5d4e9bdd9e
1 changed files with 1 additions and 1 deletions
|
@ -2519,7 +2519,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||||
|
|
||||||
bool was_visible = OS::get_singleton()->is_console_visible();
|
bool was_visible = OS::get_singleton()->is_console_visible();
|
||||||
OS::get_singleton()->set_console_visible(!was_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;
|
} break;
|
||||||
case EDITOR_SCREENSHOT: {
|
case EDITOR_SCREENSHOT: {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue