You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fixing previous merger's "not" vs. "!" mistake in C++ (#8664)
Also fix typo on the main editor confirmation prompt
This commit is contained in:
committed by
Rémi Verschelde
parent
9aee18ef6b
commit
adafaf15aa
@@ -1651,7 +1651,7 @@ void EditorNode::_run(bool p_current, const String &p_custom) {
|
|||||||
|
|
||||||
current_option = -1;
|
current_option = -1;
|
||||||
//accept->get_cancel()->hide();
|
//accept->get_cancel()->hide();
|
||||||
pick_main_scene->set_text(TTR("No main scene has ever been defined, select one?\nYou can change it later in later in \"Project Settings\" under the 'application' category."));
|
pick_main_scene->set_text(TTR("No main scene has ever been defined, select one?\nYou can change it later in \"Project Settings\" under the 'application' category."));
|
||||||
pick_main_scene->popup_centered_minsize();
|
pick_main_scene->popup_centered_minsize();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -4400,10 +4400,10 @@ void EditorNode::_toggle_distraction_free_mode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (screen == EDITOR_SCRIPT) {
|
if (screen == EDITOR_SCRIPT) {
|
||||||
script_distraction = not script_distraction;
|
script_distraction = !script_distraction;
|
||||||
set_distraction_free_mode(script_distraction);
|
set_distraction_free_mode(script_distraction);
|
||||||
} else {
|
} else {
|
||||||
scene_distraction = not scene_distraction;
|
scene_distraction = !scene_distraction;
|
||||||
set_distraction_free_mode(scene_distraction);
|
set_distraction_free_mode(scene_distraction);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user