Add Esc key support, but it's not working
I need to figure out why
This commit is contained in:
parent
29bcd516d7
commit
786c8d1f44
1 changed files with 6 additions and 0 deletions
|
@ -323,9 +323,15 @@ Rectangle {
|
|||
anchors.fill: parent
|
||||
text: "" // FIXME
|
||||
color: "white"
|
||||
visible: false
|
||||
}
|
||||
}
|
||||
|
||||
Keys.onEscapePressed: {
|
||||
closeButton.visible = false
|
||||
imageOverlay.visible = false
|
||||
}
|
||||
|
||||
onImageDoubleClicked: {
|
||||
|
||||
imageOverlay.visible = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue