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

Method reflectModificationsState

Gui/KnobGuiString.cpp:1372–1384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1370}
1371
1372void
1373KnobGuiString::reflectModificationsState()
1374{
1375 KnobStringPtr knob = _knob.lock();
1376 if (!knob) {
1377 return;
1378 }
1379 bool hasModif = knob->hasModifications();
1380
1381 if (_lineEdit) {
1382 _lineEdit->setAltered(!hasModif);
1383 }
1384}
1385
1386NATRON_NAMESPACE_EXIT
1387

Callers

nothing calls this directly

Calls 3

hasModificationsMethod · 0.80
lockMethod · 0.45
setAlteredMethod · 0.45

Tested by

no test coverage detected