Remove setScrollChangedType fucntion

This commit is contained in:
Krad
2022-07-01 14:16:54 +08:00
parent 2c088c3bee
commit 2e7be1d011

View File

@@ -82,10 +82,8 @@ void ViewContainerWidget::Slot_SyncEvent(DicomImageView *view, int interactionMo
manager.smartDo([](auto v,auto callData){
if (v->HasSeries()) {
//disable global trigger slot
v->setScrollChangedType(scrollScope::TriggerType::SYNC_ONLY);
int *r = (int *) callData;
v->AddSlice(r[1]);
v->setScrollChangedType(scrollScope::TriggerType::USER_TRIGGER);
}
},view, calldata,ImageViewManager::EStudyEBoundsSeries);
}