mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-10 10:13:35 +00:00
Workspace: Fix bug referencing to a dead panel
This commit is contained in:
parent
9f994ad253
commit
154a79be3c
@ -101,6 +101,10 @@ void Workspace::setActiveView(WorkspaceView* view)
|
||||
void Workspace::setMainPanelAsActive()
|
||||
{
|
||||
m_activePanel = &m_mainPanel;
|
||||
|
||||
removeDropViewPreview();
|
||||
m_dropPreviewPanel = nullptr;
|
||||
|
||||
ActiveViewChanged(); // Fire ActiveViewChanged event
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user