Mercurial > hg > svapp
diff framework/MainWindowBase.h @ 344:63dec7dc11cc tonioni
Fix potential for crash on reloading session file - loading selections should not emit signal as if user had just made them manually
author | Chris Cannam |
---|---|
date | Thu, 03 Apr 2014 08:51:30 +0100 |
parents | 4eccff14b4d8 |
children | b3609adae921 |
line wrap: on
line diff
--- a/framework/MainWindowBase.h Wed Apr 02 21:50:04 2014 +0100 +++ b/framework/MainWindowBase.h Thu Apr 03 08:51:30 2014 +0100 @@ -353,7 +353,7 @@ m_mw->resizeConstrained(QSize(width, height)); } virtual void addSelection(int start, int end) { - m_mw->m_viewManager->addSelection(Selection(start, end)); + m_mw->m_viewManager->addSelectionQuietly(Selection(start, end)); } protected: MainWindowBase *m_mw;