comparison main/MainWindow.cpp @ 2350:a98de7e7e033

Fix #1905 Window title is not properly reset on New Session
author Chris Cannam
date Wed, 09 Oct 2019 13:08:38 +0100
parents f576895641c2
children bc4205d70e8b
comparison
equal deleted inserted replaced
2349:b3b953205497 2350:a98de7e7e033
3279 m_document = nullptr; 3279 m_document = nullptr;
3280 m_viewManager->clearSelections(); 3280 m_viewManager->clearSelections();
3281 m_timeRulerLayer = nullptr; // document owned this 3281 m_timeRulerLayer = nullptr; // document owned this
3282 3282
3283 m_sessionFile = ""; 3283 m_sessionFile = "";
3284 m_originalLocation = "";
3284 setWindowTitle(QApplication::applicationName()); 3285 setWindowTitle(QApplication::applicationName());
3285 3286
3286 CommandHistory::getInstance()->clear(); 3287 CommandHistory::getInstance()->clear();
3287 CommandHistory::getInstance()->documentSaved(); 3288 CommandHistory::getInstance()->documentSaved();
3288 documentRestored(); 3289 documentRestored();