[ui] ImageGallery: fix typo

This commit is contained in:
Yann Lanthony 2017-12-14 19:25:18 +01:00
parent 0a61fe2843
commit 31b9381965

View file

@ -64,13 +64,11 @@ Panel {
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
onPressed: {
onPressed: {
grid.currentIndex = index
if(mouse.button == Qt.RightButton)
imageMenu.popup()
else
grid.forceActiveFocus()
}
grid.currentIndex = index
if(mouse.button == Qt.RightButton)
imageMenu.popup()
else
grid.forceActiveFocus()
}
Menu {
id: imageMenu