Remove enter key to close dialogs

This would leads to unexpected dialog close both on desktop and mobile. But much worse on mobile with virtual keyboard.
This commit is contained in:
Don Gagne
2025-02-11 18:17:19 -08:00
committed by Don Gagne
parent 1e598db6dc
commit 7aa8b7dcfc
-3
View File
@@ -263,9 +263,6 @@ Popup {
if (event.key === Qt.Key_Escape && _rejectAllowed) {
_reject()
event.accepted = true
} else if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) {
_accept()
event.accepted = true
}
}
}