mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-28 23:54:59 +00:00
feature<StashDropConfirm>: need confirm before drop selected stash
This commit is contained in:
parent
5acc768478
commit
7e4c5bc7a4
5 changed files with 73 additions and 1 deletions
|
@ -65,7 +65,7 @@ namespace SourceGit.Views.Widgets {
|
|||
|
||||
var delete = new MenuItem();
|
||||
delete.Header = App.Text("StashCM.Drop");
|
||||
delete.Click += (o, e) => Start(() => new Commands.Stash(repo).Drop(stash.Name));
|
||||
delete.Click += (o, e) => new Popups.StashDropConfirm(repo, stash.Name, stash.Message).Show();
|
||||
|
||||
var menu = new ContextMenu();
|
||||
menu.Items.Add(apply);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue