aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-07 02:45:04 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-07 02:45:04 -0700
commitdc4b2d92ee979d48cda6ee58d1ed704ce47720cc (patch)
treef1ad3aee9a1f66b966aff2c352dad182e3ee4db2 /remote_plot.c
parentcedb552f4e8da00d0b16fe6537693c671383b234 (diff)
when set to time, unset last 50 seconds toggle
Diffstat (limited to 'remote_plot.c')
-rw-r--r--remote_plot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/remote_plot.c b/remote_plot.c
index 80c7800..634d727 100644
--- a/remote_plot.c
+++ b/remote_plot.c
@@ -693,6 +693,7 @@ static void set_to_time (GtkWidget *widget, gpointer user_data)
{
DATA *data=user_data;
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(data->live_toggle),FALSE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(data->last_seconds_toggle),FALSE);
data->to_time=strtoul(gtk_editable_get_text(GTK_EDITABLE(data->to_entry)),NULL,10);
gtk_widget_queue_draw(data->area);
}