1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

FileListComponent: Allow getTooltipForRow to function as expected when overridden

This commit is contained in:
reuk 2023-06-06 14:15:58 +01:00
parent c8c4cdc7d5
commit 9705ef660e
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -100,6 +100,7 @@ void FileListComponent::changeListenerCallback (ChangeBroadcaster*)
//==============================================================================
class FileListComponent::ItemComponent : public Component,
public TooltipClient,
private TimeSliceClient,
private AsyncUpdater
{
@ -190,6 +191,11 @@ public:
repaint();
}
String getTooltip() override
{
return owner.getTooltipForRow (index);
}
private:
//==============================================================================
FileListComponent& owner;