diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-21 21:01:14 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | ce20d1b4824a3203611ba5a631e0b6281bcb1064 (patch) | |
tree | 11d85d66bce9a47301d4c049c806f0658804514d /pkg/gui/patch_options_panel.go | |
parent | fcf916d138fd0622b1a055e9742508e2e216ef17 (diff) |
remove clipboard option for now because we need a better way of doing it
Diffstat (limited to 'pkg/gui/patch_options_panel.go')
-rw-r--r-- | pkg/gui/patch_options_panel.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkg/gui/patch_options_panel.go b/pkg/gui/patch_options_panel.go index 32717b8e1..098e0db4d 100644 --- a/pkg/gui/patch_options_panel.go +++ b/pkg/gui/patch_options_panel.go @@ -13,8 +13,8 @@ func (gui *Gui) handleCreatePatchOptionsMenu(g *gocui.Gui, v *gocui.View) error menuItems := []*menuItem{ { - displayString: "copy patch to clipboard", - onPress: gui.handleCopyPatchToClipboard, + displayString: "reset patch", + onPress: gui.handleResetPatch, }, { displayString: "apply patch", @@ -24,10 +24,6 @@ func (gui *Gui) handleCreatePatchOptionsMenu(g *gocui.Gui, v *gocui.View) error displayString: "apply patch in reverse", onPress: func() error { return gui.handleApplyPatch(true) }, }, - { - displayString: "reset patch", - onPress: gui.handleResetPatch, - }, } if gui.GitCommand.PatchManager.CanRebase { |