Files
cappuccino/AppKit
Alexander Ljungberg f318759a4a Fixed: menu items becoming permanently disabled, breaking e.g. Select All.
Without this fix, if a menu item was disabled it could only be automatically re-enabled if the menu item had a `validateMenuItem:` or `validateUserInterfaceItem:` enabled target.

This meant that for example if the Edit > Select All menu item was validated when the first responder was something like a collection view, it'd become disabled. If then the first responder was changed to a text field and revalidation occurred, the menu item would not become enabled and Select All would not be possible in the text field neither through the Edit menu nor the Cmd-A/Ctrl-A keyboard equivalent.

This fix ensures that menu item validation does not only take negative action (disabling enabled items which should be disabled), but also positive action (enabling disabled items which should be enabled), even when there's no `validateMenuItem:` or `validateUserInterfaceItem:`.
2013-06-16 13:22:44 +01:00
..
2013-05-16 15:02:45 -04:00
2013-04-25 17:06:52 -07:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:55 +07:00
2013-03-26 16:52:46 -07:00
2013-01-27 10:32:23 +08:00
2013-03-25 15:59:10 -04:00
2013-05-16 15:02:45 -04:00
2013-02-25 18:27:44 +00:00
2013-01-23 15:48:55 +07:00
2013-01-08 18:07:15 +00:00
2013-02-20 03:00:20 -05:00
2013-06-12 10:27:28 +01:00
2013-01-23 15:48:55 +07:00
2013-01-24 19:18:39 +08:00
2010-12-09 13:00:52 -08:00
2013-05-16 11:26:01 +02:00
2013-01-24 19:18:39 +08:00
2013-05-06 23:57:58 -04:00
2013-02-23 00:01:19 -05:00
2013-01-23 15:48:55 +07:00
2011-03-25 22:52:57 -04:00
2013-02-06 16:36:49 +00:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:56 +07:00
2010-10-05 15:54:25 -07:00
2013-01-11 00:48:18 +00:00
2013-01-24 19:18:39 +08:00
2013-02-25 18:27:44 +00:00
2013-02-27 09:07:21 -05:00
2013-03-06 10:19:26 -05:00
2011-10-25 14:33:47 +02:00