fix(StatusSearchPopup): disable enter and return keys to avoid UI breakage
This commit is contained in:
parent
31cfc8833a
commit
fecfb2a7e9
|
@ -93,6 +93,10 @@ StatusModal {
|
|||
font.pixelSize: 28
|
||||
font.family: Theme.palette.baseFont.name
|
||||
color: Theme.palette.directColor1
|
||||
Keys.onPressed: {
|
||||
if (event.key === Qt.Key_Enter || event.key === Qt.Key_Return)
|
||||
event.accepted = true
|
||||
}
|
||||
}
|
||||
}
|
||||
StatusMenuSeparator {
|
||||
|
|
Loading…
Reference in New Issue