mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +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
|
@ -2174,6 +2174,7 @@ ScriptTextEditor::ScriptTextEditor() {
|
|||
warnings_panel->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
warnings_panel->set_meta_underline(true);
|
||||
warnings_panel->set_selection_enabled(true);
|
||||
warnings_panel->set_context_menu_enabled(true);
|
||||
warnings_panel->set_focus_mode(FOCUS_CLICK);
|
||||
warnings_panel->hide();
|
||||
|
||||
|
@ -2182,6 +2183,7 @@ ScriptTextEditor::ScriptTextEditor() {
|
|||
errors_panel->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
errors_panel->set_meta_underline(true);
|
||||
errors_panel->set_selection_enabled(true);
|
||||
errors_panel->set_context_menu_enabled(true);
|
||||
errors_panel->set_focus_mode(FOCUS_CLICK);
|
||||
errors_panel->hide();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue