1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Enable RichTextLabel context menu if selection is enabled

This commit is contained in:
Danil Alexeev
2023-02-28 16:19:48 +03:00
parent ad9302bafc
commit 06c7940a5a
8 changed files with 9 additions and 0 deletions

View File

@@ -245,6 +245,7 @@ void EditorAssetLibraryItemDescription::configure(const String &p_title, int p_a
description->add_text("\n" + TTR("Description:") + "\n\n");
description->append_text(p_description);
description->set_selection_enabled(true);
description->set_context_menu_enabled(true);
set_title(p_title);
}