From ae66a35b8f62d31aa20f400cfd4159461212f3e5 Mon Sep 17 00:00:00 2001 From: Alain Emilia Anna Zscheile Date: Fri, 4 Oct 2024 19:30:21 +0200 Subject: [PATCH] egui: reset activity on error --- src/bin/topola-egui/workspace.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/topola-egui/workspace.rs b/src/bin/topola-egui/workspace.rs index a5214ae..fb1d051 100644 --- a/src/bin/topola-egui/workspace.rs +++ b/src/bin/topola-egui/workspace.rs @@ -92,6 +92,7 @@ impl Workspace { Ok(ActivityStatus::Finished(..)) => false, Err(err) => { error_dialog.push_error("tr-module-invoker", format!("{}", err)); + self.maybe_activity = None; false } };