Merge pull request #9672 from Noshyaar/pr-lineedit

LineEdit: don't undo uneditable LineEdit
This commit is contained in:
Rémi Verschelde 2017-07-17 22:18:53 +02:00 committed by GitHub
commit 8022c68589

View file

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