diff --git a/widgets/DapComboBox.qml b/widgets/DapComboBox.qml index 4c24f44b261cae9ffe981ce02c7be5aa7a011563..ee809d5ea2bd8dd9614d5a48123e4b9d0ea559ee 100644 --- a/widgets/DapComboBox.qml +++ b/widgets/DapComboBox.qml @@ -61,6 +61,7 @@ DapComboBoxForm { id: textRepeater model: comboBoxTextRole.length + DapText { id: textComboBoxDelegate @@ -96,7 +97,6 @@ DapComboBoxForm mainLineText = comboBoxFontMetric.elidedText(fullText, Text.ElideRight, rectangleTextComboBox.width, Qt.TextShowMnemonic); } } - } } @@ -114,6 +114,7 @@ DapComboBoxForm { if(rectangleTextComboBox.comboBoxCurrentIndex !== -1) updateMainRow(comboBoxFontMetric, rectangleTextComboBox.comboBoxIndex, rectangleTextComboBox.comboBoxCurrentIndex, textRow.elTextArray, rectangleTextComboBox.width); + } } @@ -168,5 +169,4 @@ DapComboBoxForm } } - ///////////////// }