mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Enable RichTextLabel
context menu if selection is enabled
This commit is contained in:
parent
ad9302bafc
commit
06c7940a5a
8 changed files with 9 additions and 0 deletions
|
@ -289,6 +289,7 @@ ShaderFileEditor::ShaderFileEditor() {
|
|||
error_text = memnew(RichTextLabel);
|
||||
error_text->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
error_text->set_selection_enabled(true);
|
||||
error_text->set_context_menu_enabled(true);
|
||||
main_vb->add_child(error_text);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue