aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-02 12:11:28 +0200
committerThomas White <taw@physics.org>2020-09-02 12:11:28 +0200
commitdbe2734d875f9dec5a3b28b9619eb5eeb9446121 (patch)
treeeabbcd12c24b582584ed34c2c6082eb6533e36b4 /src/crystfel_gui.c
parent5bd6c58c82eba7109cb6365440aa43f4d577ed67 (diff)
Fix job tracking logic
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c
index 3e8f6b24..d2dbdc94 100644
--- a/src/crystfel_gui.c
+++ b/src/crystfel_gui.c
@@ -1035,6 +1035,7 @@ static gboolean update_info_bar(gpointer data)
if ( !running && task->running ) {
/* Task is no longer running */
+ task->running = 0;
gtk_widget_destroy(task->cancel_button);
gtk_info_bar_set_show_close_button(GTK_INFO_BAR(task->info_bar),
TRUE);