mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
parent
99186e5166
commit
89d938dd3a
1 changed files with 4 additions and 2 deletions
|
|
@ -199,10 +199,12 @@ void NSViewComponent::setView (void* const view)
|
|||
{
|
||||
if (view != getView())
|
||||
{
|
||||
attachment = nullptr;
|
||||
ReferenceCountedObject* object = nullptr;
|
||||
|
||||
if (view != nullptr)
|
||||
attachment = attachViewToComponent (*this, view);
|
||||
object = attachViewToComponent (*this, view);
|
||||
|
||||
attachment = object;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue