Mercurial > hg > svapp
changeset 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 | a93802543a5a |
children | b3609adae921 36efd75d7b7b |
files | framework/MainWindowBase.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;