LineEdit: don't undo uneditable LineEdit
@@ -1191,7 +1191,9 @@ void LineEdit::menu_option(int p_option) {
select_all();
} break;
case MENU_UNDO: {
- undo();
+ if (editable) {
+ undo();
+ }
}