Fix sync and MPR conflict bug.
This commit is contained in:
@@ -172,9 +172,9 @@ void QDicomViewer::createToolButton() {
|
|||||||
this->SetupCloseTool(btnclose);
|
this->SetupCloseTool(btnclose);
|
||||||
|
|
||||||
connect(btnMPR, &QToolButton::clicked, [=](){
|
connect(btnMPR, &QToolButton::clicked, [=](){
|
||||||
ui->viewContainer->getViewManager()->switchSliceOrientation();
|
|
||||||
SyncHelper::setSyncState(DIS_SYNC);
|
SyncHelper::setSyncState(DIS_SYNC);
|
||||||
syncStateChanged();
|
syncStateChanged();
|
||||||
|
ui->viewContainer->getViewManager()->switchSliceOrientation();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user