mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #113477 from smix8/issue_113328
Hide "Open documentation" context menu button in project manager
This commit is contained in:
commit
c54c8b795b
1 changed files with 1 additions and 1 deletions
|
|
@ -1605,7 +1605,7 @@ void EditorProperty::_update_popup() {
|
|||
menu->add_icon_item(theme_cache.revert_icon, TTR("Revert Value"), MENU_REVERT_VALUE);
|
||||
}
|
||||
}
|
||||
if (!doc_path.is_empty()) {
|
||||
if (!doc_path.is_empty() && ScriptEditor::get_singleton() && EditorNode::get_singleton()) {
|
||||
menu->add_separator();
|
||||
menu->add_icon_item(theme_cache.help_icon, TTR("Open Documentation"), MENU_OPEN_DOCUMENTATION);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue