mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-29 02:40:05 +00:00
Plugin hosting cleanups + workarounds for some Mackie plugins.
This commit is contained in:
parent
886cd92eda
commit
178dc9012b
6 changed files with 60 additions and 82 deletions
|
|
@ -644,7 +644,8 @@ ComponentPeer* Component::getPeer() const
|
|||
{
|
||||
if (flags.hasHeavyweightPeerFlag)
|
||||
return ComponentPeer::getPeerFor (this);
|
||||
else if (parentComponent == nullptr)
|
||||
|
||||
if (parentComponent == nullptr)
|
||||
return nullptr;
|
||||
|
||||
return parentComponent->getPeer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue