[ui] always enable outputAttribute ComboBox

This commit is contained in:
Loïc Vital 2022-09-27 09:19:44 +02:00 committed by Fabien Castan
parent f899e24bd6
commit 44c0086f40

View file

@ -1081,17 +1081,15 @@ FocusScope {
ComboBox {
id: outputAttribute
property var activeNode: root.oiioPluginAvailable ? _reconstruction.activeNodes.get('allDepthMap').node : null
clip: true
Layout.minimumWidth: 0
Layout.preferredWidth: 3.0 * Qt.application.font.pixelSize
flat: true
property var names: []
property string name: (enabled && names[currentIndex]) ? names[currentIndex] : "";
property string name: names[currentIndex] ? names[currentIndex] : ""
model: names
enabled: activeNode
FontMetrics {
id: fontMetrics