| 109 | QList< ControlMeasure * > measures = mCNet->GetMeasuresInCube(serialNum); |
| 110 | |
| 111 | foreach(ControlMeasure * measure, measures) { |
| 112 | bool pointEditFlag = false; |
| 113 | QString ptId(measure->Parent()->GetId()); |
| 114 | ControlPoint * point = mCNet->GetPoint(ptId); |
| 115 | if (point->IsEditLocked()) { |
| 116 | point->SetEditLock(false); |
| 117 | pointEditFlag = true; |
| 118 | } |
| 119 | ControlMeasure *msr = point->GetMeasure(serialNum); |
| 120 | msr->SetEditLock(false); |
| 121 | point->Delete(serialNum); |
| 122 | if (pointEditFlag) { |
| 123 | point->SetEditLock(true); |
| 124 | } |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | /** |
nothing calls this directly
no test coverage detected