You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
LineEdit: don't undo uneditable LineEdit
This commit is contained in:
@@ -1191,7 +1191,9 @@ void LineEdit::menu_option(int p_option) {
|
||||
select_all();
|
||||
} break;
|
||||
case MENU_UNDO: {
|
||||
undo();
|
||||
if (editable) {
|
||||
undo();
|
||||
}
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user