Skip to content

Commit

Permalink
fix ReplaceAll -> Commit on button
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Feb 25, 2024
1 parent d23d3e0 commit 626a427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/codev/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (ge *CodeView) CommitNoChecks() {
})
d.AddBottomBar(func(pw gi.Widget) {
d.AddCancel(pw)
d.AddOk(pw).SetText("Replace All").OnClick(func(e events.Event) {
d.AddOk(pw).SetText("Commit").OnClick(func(e events.Event) {
val := tf.Text()
ge.ArgVals["{PromptString1}"] = val
code.CmdNoUserPrompt = true // don't re-prompt!
Expand Down

0 comments on commit 626a427

Please sign in to comment.