Changeset 1336
- Timestamp:
- Jan 9, 2007, 5:09:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r1333 r1336 2233 2233 SEL action = [menuItem action]; 2234 2234 2235 //only enable some items if it is in a context menu or the window is useable 2236 BOOL canUseTable = [fWindow isKeyWindow] || [[ [menuItem menu] title] isEqualToString: @"Context"];2235 //only enable some items if it is in a context menu or the window is useable 2236 BOOL canUseTable = [fWindow isKeyWindow] || [[menuItem menu] supermenu] != [NSApp mainMenu]; 2237 2237 2238 2238 //enable open items
Note: See TracChangeset
for help on using the changeset viewer.