Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 2062:551c246c4b5d
Stop playback when New Session invoked
author | Chris Cannam |
---|---|
date | Thu, 01 Nov 2018 14:30:38 +0000 |
parents | 8529a60df1b4 |
children | 513d77e93090 |
comparison
equal
deleted
inserted
replaced
2061:5934b639aff0 | 2062:551c246c4b5d |
---|---|
3237 MainWindow::newSession() | 3237 MainWindow::newSession() |
3238 { | 3238 { |
3239 if (!checkSaveModified()) return; | 3239 if (!checkSaveModified()) return; |
3240 | 3240 |
3241 closeSession(); | 3241 closeSession(); |
3242 stop(); | |
3242 createDocument(); | 3243 createDocument(); |
3243 | 3244 |
3244 Pane *pane = m_paneStack->addPane(); | 3245 Pane *pane = m_paneStack->addPane(); |
3245 | 3246 |
3246 connect(pane, SIGNAL(contextHelpChanged(const QString &)), | 3247 connect(pane, SIGNAL(contextHelpChanged(const QString &)), |