* Set the EditLock state. If edit lock is on, then most attributes relating * to this point are not modifiable. Edit lock is like "Don't modify my * attributes, but you can still modify my measures' attributes". The * reference measure is implicitely edit locked if the point is edit locked. * * @param lock True to enable edit lock, false to disable it and allow the * poin
| 517 | * point to be modified. |
| 518 | */ |
| 519 | ControlPoint::Status ControlPoint::SetEditLock(bool lock) { |
| 520 | if (parentNetwork) { |
| 521 | parentNetwork->emitPointModified(this, ControlPoint::EditLockModified, editLock, lock); |
| 522 | } |
| 523 | editLock = lock; |
| 524 | return Success; |
| 525 | } |
| 526 | |
| 527 | |
| 528 | /** |