You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
ScriptEditor: Fixes bug where menu option would be handled twice
This commit is contained in:
@@ -878,7 +878,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
|
||||||
EditorHelp *help = tab_container->get_current_tab_control()->cast_to<EditorHelp>();
|
EditorHelp *help = tab_container->get_current_tab_control()->cast_to<EditorHelp>();
|
||||||
if (help) {
|
if (help) {
|
||||||
@@ -903,6 +903,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void ScriptEditor::_tab_changed(int p_which) {
|
void ScriptEditor::_tab_changed(int p_which) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user