Fix default selection

This commit is contained in:
2025-03-06 22:02:30 +01:00
parent 8ead2a205d
commit 72b97ad7d3
2 changed files with 14 additions and 9 deletions

View File

@@ -93,9 +93,8 @@ component ConvertImageWidget inherits Rectangle {
VerticalLayout {
alignment: center;
ComboBox {
model: root.encoding_options;
enabled: root.enable_view;
current-value: root.encoding_options[0];
model: root.encoding_options;
enabled: root.enable_view;
selected(current-value) => {
root.selected_encoding = current-value;