|
single button with dropdown menu with ability to change the default action:
- Create a new SPComboPopupButton class; this subclasses NSPopupButton to retain the ability to show the popup menu, but only when the right-hand side of the button is pressed, allowing the rest of the button to perform the click action
- Combine the previous two "Run" buttons on the Custom Query view into a new SPComboPopupButton
- Move the Run menu items from the gear menu into the Run button popup menu so they can be discovered more easily (and the shortcuts seen more easily)
- Add a menu item to switch the button's default action, which also swaps all associated shortcuts
- Clean up associated logic
This implements Issue #1569
|