Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix missing Scripts>Refresh menu item when scripts folder is empty.

  • Loading branch information...
commit dc8b31c2e6f4a588c234222ca9159f629d774a9a 1 parent 0e61b98
@tom-seddon tom-seddon authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 À La Carte Projects/XCFixin_UserScripts/XCFixin_UserScripts.m
View
8 À La Carte Projects/XCFixin_UserScripts/XCFixin_UserScripts.m
@@ -652,11 +652,11 @@ -(void)refreshScriptsMenu
if([scriptsMenu numberOfItems]>0)
[scriptsMenu addItem:[NSMenuItem separatorItem]];
-
- [[scriptsMenu addItemWithTitle:@"Refresh"
- action:@selector(refreshScriptsMenuAction:)
- keyEquivalent:@""] setTarget:self];
}
+
+ [[scriptsMenu addItemWithTitle:@"Refresh"
+ action:@selector(refreshScriptsMenuAction:)
+ keyEquivalent:@""] setTarget:self];
}
////////////////////////////////////////////////////////////////////////////////
Please sign in to comment.
Something went wrong with that request. Please try again.