add the rename option to the main window context menu

This commit is contained in:
Mitchell Livingston
2013-01-22 00:50:28 +00:00
parent 5a53ea421f
commit 694861217c
2 changed files with 31 additions and 7 deletions

View File

@@ -4304,7 +4304,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
return canUseTable && [fTableView numberOfSelectedRows] > 0;
//enable renaming file/folder
if (action == @selector(renameSelectedTorrent:))
if (action == @selector(renameSelected:))
return canUseTable && [fTableView numberOfSelectedRows] == 1;
//enable remove items