Reputation: 4209
I created a Custom View
as a Toolbar Item. Creating an action
from the Toolbar item now doesn't work (it's not fired). Any ideas?
Upvotes: 0
Views: 441
Reputation: 3231
The action
of an NSToolbarItem
is only used if you leave the default view in place. Setting a custom view will mean that you need to setup any target/action/callbacks with that custom view instead: e.g. if you set a custom button or segmented control, you should set the target
and action
on that.
Upvotes: 0