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:
parent
c8c4cdc7d5
commit
9705ef660e
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue