#824: Calls to #validateUserInterfaceItem: have no effect ---------------------------------+------------------------------------------ Reporter: mred@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.7 Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Old description:
The following implementation of #validateUserInterfaceItem: had no effect when added to a window controller
{{{ def validateUserInterfaceItem item false end }}}
Replacing the above method with a similar implementation of #validateMenuItem:, however, and menu items were disabled as expected.
New description: The following implementation of #validateUserInterfaceItem: had no effect when added to a window controller {{{ #!ruby def validateUserInterfaceItem item false end }}} Replacing the above method with a similar implementation of #validateMenuItem:, however, and menu items were disabled as expected. -- Comment(by martinlagardette@…): Would it be possible to provide a reduction of an app that reproduce the problem? Thank you :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/824#comment:1> MacRuby <http://macruby.org/>