diff --git a/applets/mediaframe/package/contents/ui/ConfigGeneral.qml b/applets/mediaframe/package/contents/ui/ConfigGeneral.qml --- a/applets/mediaframe/package/contents/ui/ConfigGeneral.qml +++ b/applets/mediaframe/package/contents/ui/ConfigGeneral.qml @@ -117,9 +117,7 @@ } ] - onActivated: root.fillMode = comboBoxItems.get(index).value - - onCurrentIndexChanged: fillModeDescription.text = comboBoxItems.get(currentIndex).description + onActivated: root.fillMode = comboBox.model[index].value function fillModeToIndex(fillMode) { if(fillMode == Image.Stretch) @@ -141,7 +139,7 @@ } Label { id: fillModeDescription - text: i18n("The image is scaled uniformly to fit without cropping") + text: comboBox.model[comboBox.currentIndex] ? comboBox.model[comboBox.currentIndex].description : "" } }