mirror of https://github.com/aseprite/aseprite.git
Avoid referencing a dead WorkspaceTabs from m_dropPreviewTabs
This commit is contained in:
parent
13c06d8541
commit
ff650597cb
|
|
@ -101,6 +101,7 @@ void Workspace::setMainPanelAsActive()
|
||||||
|
|
||||||
removeDropViewPreview();
|
removeDropViewPreview();
|
||||||
m_dropPreviewPanel = nullptr;
|
m_dropPreviewPanel = nullptr;
|
||||||
|
m_dropPreviewTabs = nullptr;
|
||||||
|
|
||||||
ActiveViewChanged(); // Fire ActiveViewChanged event
|
ActiveViewChanged(); // Fire ActiveViewChanged event
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue