I have a TableListBox and a right click menu, I’d expect this to do the trick however if a cell is left clicked then right clicks to that cell never register. The only time right clicks register is when a new cell is right clicked. Usually users expect to left click to select something and then right click for options.
Am I missing something or is this a bug?
virtual void cellClicked (int _rowNumber, int columnId, const juce::MouseEvent& m) override
{
DBG("CLICK");
juce::ModifierKeys modifiers = juce::ComponentPeer::getCurrentModifiersRealtime();
if (modifiers.isPopupMenu())
{
DBG("RIGHT");
// runFolderMenu();
}
}
I suppose I’ll have to use a Mouse listener instead.