mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +00:00
ScriptEditor: Fixes bug where menu option would be handled twice
This commit is contained in:
parent
e55a496f79
commit
97c385dbb8
1 changed files with 20 additions and 19 deletions
|
|
@ -878,7 +878,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
EditorHelp *help = tab_container->get_current_tab_control()->cast_to<EditorHelp>();
|
||||
if (help) {
|
||||
|
|
@ -902,6 +902,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
} break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptEditor::_tab_changed(int p_which) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue