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 {
|
||||
|
@ -168,9 +172,9 @@ StatusModal {
|
|||
icon: searchOptionsMenuButton.iconSettings
|
||||
name: searchOptionsMenuButton.primaryText
|
||||
active: searchOptionsMenuButton.primaryText !== defaultSearchLocationText &&
|
||||
(searchOptionsMenuButton.iconSettings.name ||
|
||||
searchOptionsMenuButton.iconSettings.isLetterIdenticon ||
|
||||
!!searchOptionsMenuButton.image.source.toString())
|
||||
(searchOptionsMenuButton.iconSettings.name ||
|
||||
searchOptionsMenuButton.iconSettings.isLetterIdenticon ||
|
||||
!!searchOptionsMenuButton.image.source.toString())
|
||||
}
|
||||
|
||||
StatusBaseText {
|
||||
|
|
Loading…
Reference in New Issue