summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/gui/control.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/gui/control.c b/bin/gui/control.c
index 504eb86..069b825 100644
--- a/bin/gui/control.c
+++ b/bin/gui/control.c
@@ -588,7 +588,7 @@ on_start_button_clicked (GtkWidget *widget, ThreadData *data)
}
static void
-on_stop_button_clicked (GtkWidget *widget, ThreadData *data)
+on_stop_button_clicked (GtkWidget *widget, ThreadData *data, GtkAdjustment *adjustment)
{
GError *error = NULL;
@@ -597,6 +597,8 @@ on_stop_button_clicked (GtkWidget *widget, ThreadData *data)
set_tool_button_state (data);
uca_camera_stop_recording (data->camera, &error);
+ on_frame_slider_changed (adjustment, data);
+
if (error != NULL)
g_printerr ("Failed to stop: %s\n", error->message);