Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alicevision/meshroom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Vital <mugulmotion@gmail.com>2022-09-23 17:22:25 +0300
committerFabien Castan <fabcastan@gmail.com>2022-10-19 11:50:10 +0300
commit4e19cf44b987110f3c218d52afc7b9fc77882de2 (patch)
tree300b80ebb8944a5122b30e4b03d56163986a857c /meshroom
parent592dc1121e49d09883e8f55c1c17a14e8296a23b (diff)
[ui] update selected view from grid when using keys
Diffstat (limited to 'meshroom')
-rw-r--r--meshroom/ui/qml/ImageGallery/ImageGallery.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/meshroom/ui/qml/ImageGallery/ImageGallery.qml b/meshroom/ui/qml/ImageGallery/ImageGallery.qml
index 94c6637c..c66ed025 100644
--- a/meshroom/ui/qml/ImageGallery/ImageGallery.qml
+++ b/meshroom/ui/qml/ImageGallery/ImageGallery.qml
@@ -332,17 +332,14 @@ Panel {
}
else
{
- grid.updateSelectedViewFromGrid = false
if(event.key == Qt.Key_Right)
{
grid.moveCurrentIndexRight()
- // grid.setCurrentIndex(Math.min(grid.model.count - 1, grid.currentIndex + 1))
event.accepted = true
}
else if(event.key == Qt.Key_Left)
{
grid.moveCurrentIndexLeft()
- // grid.setCurrentIndex(Math.max(0, grid.currentIndex - 1))
event.accepted = true
}
else if(event.key == Qt.Key_Up)
@@ -355,7 +352,6 @@ Panel {
grid.moveCurrentIndexDown()
event.accepted = true
}
- grid.updateSelectedViewFromGrid = true
}
}