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

Method resetChoices

Engine/KnobTypes.cpp:716–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714} // KnobChoice::populateChoices
715
716void
717KnobChoice::resetChoices()
718{
719 {
720 QMutexLocker l(&_entriesMutex);
721 _entries.clear();
722 }
723 findAndSetOldChoice();
724 if (_signalSlotHandler) {
725 _signalSlotHandler->s_helpChanged();
726 }
727 Q_EMIT entriesReset();
728}
729
730void
731KnobChoice::appendChoice(const ChoiceOption& entry)

Callers 1

setOptionMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected