]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
fixed zoom bug when no zoom slider displayed
authorJohn Melton G0ORX <john.d.melton@googlemail.com>
Wed, 18 Mar 2020 06:59:56 +0000 (06:59 +0000)
committerJohn Melton G0ORX <john.d.melton@googlemail.com>
Wed, 18 Mar 2020 06:59:56 +0000 (06:59 +0000)
zoompan.c

index 0200ae1897c53629d0f5ef0a5ca691e208a38c8b..3fc6bc5774dab632f82e0cd9d999a3a4753b668a 100644 (file)
--- a/zoompan.c
+++ b/zoompan.c
@@ -70,6 +70,7 @@ static void zoom_value_changed_cb(GtkWidget *widget, gpointer data) {
 
 void set_zoom(int rx,double value) {
   receiver[rx]->zoom=value;
+  receiver_change_zoom(active_receiver,value);
   if(display_zoompan) {
     gtk_range_set_value (GTK_RANGE(zoom_scale),receiver[rx]->zoom);
   } else {