Skip to content

Commit ea652ec

Browse files
committed
Incorrect selector (thanks, warnings)
1 parent 01d35b3 commit ea652ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Controllers/PBGitCommitController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ - (BOOL)validateMenuItem:(NSMenuItem *)menuItem
573573
}
574574
return filesForStaging.count > 0 && canDiscardAnyFileIn(filesForStaging);
575575
}
576-
else if (menuItem.action == @selector(trashFiles:)) {
576+
else if (menuItem.action == @selector(moveToTrash:)) {
577577
if (isInContextualMenu) {
578578
menuItem.title = PBLocalizedStringForArray(filesForStaging,
579579
NSLocalizedString(@"Move “%@” to Trash", @"Move to Trash menu item (single file with name)"),

0 commit comments

Comments
 (0)