We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc386a6 + ce73f6b commit c002376Copy full SHA for c002376
1 file changed
src/hal/utils/scope_vert.c
@@ -1094,6 +1094,11 @@ void channel_changed(void)
1094
gtk_adjustment_set_lower(adj, chan->min_index);
1095
gtk_adjustment_set_upper(adj, chan->max_index);
1096
gtk_adjustment_set_value(adj, chan->scale_index);
1097
+
1098
+ // Call the `scale_changed()` callback once by hand to initialize
1099
+ // the new channel's scale/gain.
1100
+ scale_changed(adj, NULL);
1101
1102
/* update the channel number and name display */
1103
snprintf(buf1, BUFLEN, "%2d", vert->selected);
1104
name = chan->name;
0 commit comments