Skip to content

Commit edcb514

Browse files
committed
Fixing default export values.
1 parent f8095e4 commit edcb514

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Export.vala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ public class Export {
9292
};
9393

9494
var sw = new Switch() {
95-
halign = Align.END,
96-
hexpand = true
95+
halign = Align.END,
96+
hexpand = true,
97+
active = dflt
9798
};
9899
sw.notify["active"].connect(() => {
99100
settings_changed();
@@ -126,6 +127,7 @@ public class Export {
126127
draw_value = true,
127128
round_digits = max.to_string().char_count()
128129
};
130+
scale.set_value( (double)dflt );
129131
scale.value_changed.connect(() => {
130132
settings_changed();
131133
});

0 commit comments

Comments
 (0)