Fixes #2624 ("Controls window of LFO controller is not destroyed upon

closing a project")

When it is destroyed the ControllerView now deletes the controller sub
window in case it has one.
This commit is contained in:
Michael Gregorius
2016-03-06 19:04:51 +01:00
parent 2e2abdf0b7
commit 1f39b607ba

View File

@@ -104,6 +104,10 @@ ControllerView::ControllerView( Controller * _model, QWidget * _parent ) :
ControllerView::~ControllerView()
{
if (m_subWindow)
{
delete m_subWindow;
}
}