| 1370 | } |
| 1371 | |
| 1372 | void |
| 1373 | KnobGuiString::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 | |
| 1386 | NATRON_NAMESPACE_EXIT |
| 1387 |
nothing calls this directly
no test coverage detected