Merge pull request #2642 from michaelgregorius/2624-controller-crash
Fixes #2624 ("Controls window of LFO controller is not destroyed upon closing a project")
This commit is contained in:
@@ -104,6 +104,10 @@ ControllerView::ControllerView( Controller * _model, QWidget * _parent ) :
|
||||
|
||||
ControllerView::~ControllerView()
|
||||
{
|
||||
if (m_subWindow)
|
||||
{
|
||||
delete m_subWindow;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user