changeset 2062:551c246c4b5d

Stop playback when New Session invoked
author Chris Cannam
date Thu, 01 Nov 2018 14:30:38 +0000
parents 5934b639aff0
children d50d133a00a3
files main/MainWindow.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Thu Nov 01 14:07:51 2018 +0000
+++ b/main/MainWindow.cpp	Thu Nov 01 14:30:38 2018 +0000
@@ -3239,6 +3239,7 @@
     if (!checkSaveModified()) return;
 
     closeSession();
+    stop();
     createDocument();
 
     Pane *pane = m_paneStack->addPane();