diff options
Diffstat (limited to 'pkg/gui/stash_panel.go')
-rw-r--r-- | pkg/gui/stash_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/stash_panel.go b/pkg/gui/stash_panel.go index cac542d0e..d60ffae2a 100644 --- a/pkg/gui/stash_panel.go +++ b/pkg/gui/stash_panel.go @@ -110,7 +110,7 @@ func (gui *Gui) stashDo(method string) error { if err := gui.GitCommand.StashDo(stashEntry.Index, method); err != nil { return gui.surfaceError(err) } - return gui.refreshSidePanels(refreshOptions{scope: []int{STASH, FILES}}) + return gui.refreshSidePanels(refreshOptions{scope: []RefreshableView{STASH, FILES}}) } func (gui *Gui) handleStashSave(stashFunc func(message string) error) error { @@ -124,7 +124,7 @@ func (gui *Gui) handleStashSave(stashFunc func(message string) error) error { if err := stashFunc(stashComment); err != nil { return gui.surfaceError(err) } - return gui.refreshSidePanels(refreshOptions{scope: []int{STASH, FILES}}) + return gui.refreshSidePanels(refreshOptions{scope: []RefreshableView{STASH, FILES}}) }, }) } |