Removes existing controllers from the view when a new project is created

Fixes #2409.
This commit is contained in:
Michael Gregorius
2015-10-12 19:49:55 +02:00
parent 3a8f491ddb
commit 3878fe580d

View File

@@ -1216,7 +1216,7 @@ void Song::removeAllControllers()
{
for (int i = 0; i < m_controllers.size(); ++i)
{
delete m_controllers.at(i);
removeController(m_controllers.at(i));
}
m_controllers.clear();