From 12b5ce27389c9adc3c3fdfb82a66b849954f8712 Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Tue, 26 Aug 2014 12:51:19 +0200 Subject: [LIBREPORT PATCH 53/93] wizard: terminate event chain after the emergency analysis Resolves rhbz#1133549 Related to rhbz#1069917 Signed-off-by: Jakub Filak --- src/gui-wizard-gtk/wizard.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c index d62ac04..caae1d2 100644 --- a/src/gui-wizard-gtk/wizard.c +++ b/src/gui-wizard-gtk/wizard.c @@ -1790,6 +1790,16 @@ static bool event_need_review(const char *event_name) static void on_btn_failed_cb(GtkButton *button) { + /* Since the Repeat button has been introduced, the event chain isn't + * terminated upon a failure in order to be able to continue in processing + * in the retry action. + * + * Now, user decided to run the emergency analysis instead of trying to + * reconfigure libreport, so we have to terminate the event chain. + */ + gtk_widget_hide(g_btn_repeat); + terminate_event_chain(TERMINATE_NOFLAGS); + /* Show detailed log */ gtk_expander_set_expanded(g_exp_report_log, TRUE); -- 1.8.3.1