You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add TextEdit option to prevent copying without a selection
This commit is contained in:
@@ -831,6 +831,9 @@ void CodeEdit::_cut_internal(int p_caret) {
|
||||
delete_selection(p_caret);
|
||||
return;
|
||||
}
|
||||
if (!is_empty_selection_clipboard_enabled()) {
|
||||
return;
|
||||
}
|
||||
if (p_caret == -1) {
|
||||
delete_lines();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user