diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-18 22:02:35 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | f5b22d94d939b0fc1aff433686e891e0a7507950 (patch) | |
tree | 9812c4c7f3855d7e3fe973dacf5533ef04463c3d /pkg/gui/stash_panel.go | |
parent | 3c87ff4eff46449d5e697e954b3bdf01d2c76f19 (diff) |
WIP
Diffstat (limited to 'pkg/gui/stash_panel.go')
-rw-r--r-- | pkg/gui/stash_panel.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/stash_panel.go b/pkg/gui/stash_panel.go index ec2c4ba8e..04a82e463 100644 --- a/pkg/gui/stash_panel.go +++ b/pkg/gui/stash_panel.go @@ -22,6 +22,10 @@ func (gui *Gui) handleStashEntrySelect() error { return nil } + if gui.inDiffMode() { + return gui.renderDiff() + } + gui.splitMainPanel(false) gui.getMainView().Title = "Stash" @@ -31,10 +35,6 @@ func (gui *Gui) handleStashEntrySelect() error { return gui.newStringTask("main", gui.Tr.SLocalize("NoStashEntries")) } - if gui.inDiffMode() { - return gui.renderDiff() - } - cmd := gui.OSCommand.ExecutableFromString( gui.GitCommand.ShowStashEntryCmdStr(stashEntry.Index), ) |