mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-23 01:44:22 +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())
|
if (view != getView())
|
||||||
{
|
{
|
||||||
attachment = nullptr;
|
ReferenceCountedObject* object = nullptr;
|
||||||
|
|
||||||
if (view != 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