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-28 10:39:35 +0300
committerFabien Castan <fabcastan@gmail.com>2022-10-19 11:50:17 +0300
commita36abd99a6498ea47bab1744d3a4e221b9133f2d (patch)
treea6cf439bc3767aec262955810637d596ea245779
parent400c68a40aa9e6ba482e60a1a860683edd5dc4e7 (diff)
[ui] disable outputAttributes ComboBox when it is empty
-rw-r--r--meshroom/ui/qml/Viewer/Viewer2D.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml
index 4e0a4106..ada1061a 100644
--- a/meshroom/ui/qml/Viewer/Viewer2D.qml
+++ b/meshroom/ui/qml/Viewer/Viewer2D.qml
@@ -1087,6 +1087,7 @@ FocusScope {
property string name: names[currentIndex] ? names[currentIndex] : ""
model: names
+ enabled: count > 0
FontMetrics {
id: fontMetrics