comparison 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
comparison
equal deleted inserted replaced
666:21673429dba5 667:31ea416fea3c
2678 connect(m_document, SIGNAL(alignmentComplete(AlignmentModel *)), 2678 connect(m_document, SIGNAL(alignmentComplete(AlignmentModel *)),
2679 this, SLOT(alignmentComplete(AlignmentModel *))); 2679 this, SLOT(alignmentComplete(AlignmentModel *)));
2680 connect(m_document, SIGNAL(alignmentFailed(QString)), 2680 connect(m_document, SIGNAL(alignmentFailed(QString)),
2681 this, SLOT(alignmentFailed(QString))); 2681 this, SLOT(alignmentFailed(QString)));
2682 2682
2683 m_document->setAutoAlignment(m_viewManager->getAlignMode());
2684
2683 emit replacedDocument(); 2685 emit replacedDocument();
2684 } 2686 }
2685 2687
2686 bool 2688 bool
2687 MainWindowBase::saveSessionFile(QString path) 2689 MainWindowBase::saveSessionFile(QString path)