summaryrefslogtreecommitdiffstats
path: root/pkg/gui/undoing.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/undoing.go')
-rw-r--r--pkg/gui/undoing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/undoing.go b/pkg/gui/undoing.go
index 7bc128b89..886eb49e3 100644
--- a/pkg/gui/undoing.go
+++ b/pkg/gui/undoing.go
@@ -166,7 +166,7 @@ func (gui *Gui) handleHardResetWithAutoStash(commitSha string, options handleHar
dirtyWorkingTree := len(gui.trackedFiles()) > 0
if dirtyWorkingTree {
// offer to autostash changes
- return gui.createConfirmationPanel(createConfirmationPanelOpts{
+ return gui.ask(askOpts{
returnToView: gui.getBranchesView(),
returnFocusOnClose: true,
title: gui.Tr.SLocalize("AutoStashTitle"),