Event: reset values on editing start

This commit is contained in:
Timotej Lazar 2021-09-11 17:16:57 +02:00
parent 1eee2fc2b5
commit 4ef0c49825
No known key found for this signature in database
GPG key ID: B6F38793D143456F
2 changed files with 13 additions and 16 deletions

View file

@ -183,10 +183,7 @@ Page {
}
break
case Qt.Key_Escape:
if (editing) {
currentItem.reset()
editing = false
}
editing = false
break
case Qt.Key_Delete:
editing = false