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:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user