MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / reflectModificationsState

Method reflectModificationsState

Gui/KnobGuiChoice.cpp:481–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481void
482KnobGuiChoice::reflectModificationsState()
483{
484 KnobChoicePtr knob = _knob.lock();
485 if (!knob) {
486 return;
487 }
488 bool hasModif = knob->hasModifications();
489
490 _comboBox->setAltered(!hasModif);
491}
492
493NATRON_NAMESPACE_EXIT
494

Callers

nothing calls this directly

Calls 3

hasModificationsMethod · 0.80
lockMethod · 0.45
setAlteredMethod · 0.45

Tested by

no test coverage detected