Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 667:31ea416fea3c single-point
Ensure main model also gets aligned (as reference)
author | Chris Cannam |
---|---|
date | Fri, 26 Apr 2019 18:39:46 +0100 |
parents | 49cf3787cf22 |
children | 331be52cd473 |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Wed Apr 24 11:45:31 2019 +0100 +++ b/framework/MainWindowBase.cpp Fri Apr 26 18:39:46 2019 +0100 @@ -2680,6 +2680,8 @@ connect(m_document, SIGNAL(alignmentFailed(QString)), this, SLOT(alignmentFailed(QString))); + m_document->setAutoAlignment(m_viewManager->getAlignMode()); + emit replacedDocument(); }