summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/helpers/confirmation_helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/controllers/helpers/confirmation_helper.go')
-rw-r--r--pkg/gui/controllers/helpers/confirmation_helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/helpers/confirmation_helper.go b/pkg/gui/controllers/helpers/confirmation_helper.go
index 6cf5a1e90..8c1265c15 100644
--- a/pkg/gui/controllers/helpers/confirmation_helper.go
+++ b/pkg/gui/controllers/helpers/confirmation_helper.go
@@ -36,7 +36,7 @@ func (self *ConfirmationHelper) wrappedConfirmationFunction(cancel goContext.Can
if function != nil {
if err := function(); err != nil {
- return self.c.Error(err)
+ return err
}
}