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

Added a call to sendLookAndFeelChange() before making new tab content component visible in TabbedComponent::changeCallback

This commit is contained in:
ed 2017-03-24 08:56:21 +00:00
parent ee6411ea13
commit 91eb19e6f5

View file

@ -297,6 +297,7 @@ void TabbedComponent::changeCallback (const int newCurrentTabIndex, const String
// do these ops as two stages instead of addAndMakeVisible() so that the
// component has always got a parent when it gets the visibilityChanged() callback
addChildComponent (panelComponent);
panelComponent->sendLookAndFeelChange();
panelComponent->setVisible (true);
panelComponent->toFront (true);
}