Minor clean up.

This commit is contained in:
Martín Lucas Golini
2024-01-29 00:05:22 -03:00
parent d4e859be4b
commit 9a0057c890
20 changed files with 42 additions and 184 deletions

View File

@@ -1244,6 +1244,13 @@ void GitPlugin::buildSidePanelTab() {
break;
case KEY_F2:
branchRename( branch );
break;
case KEY_DELETE:
if ( branch.type == Git::RefType::Stash )
stashDrop( branch );
else if ( branch.type == Git::RefType::Head )
branchDelete( branch );
break;
default:
break;
}