Preset browser double click
d.healey last edited by
I'm using the broadcaster to check if the user double clicks a preset. The idea is I want to load the preset and close the browser on double click, but keep the browser open on single click.
However the double click doesn't work reliably because it's loading the preset twice.
I had a look in the source and can see the
doubleClickparameter of the
selectionChangedfunction is commented out. I uncommented and also added a check for the number of clicks in this section.
if (listener != nullptr && !e.mouseWasDraggedSinceMouseDown()) listener->selectionChanged(index, row, entries[row], e.getNumberOfClicks() == 2);
But it's like it just sees it as two single clicks and no double click is coming through.
@Christoph-Hart Any hints?