mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[ui] ImageGallery: fix typo
This commit is contained in:
parent
0a61fe2843
commit
31b9381965
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue