MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / updateActiveState

Method updateActiveState

src/common/actionmanager/command.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void CommandPrivate::updateActiveState()
90{
91 setActive(action->isEnabled() && action->isVisible() && !action->isSeparator());
92}
93
94void CommandPrivate::setActive(bool state)
95{

Callers

nothing calls this directly

Calls 2

isVisibleMethod · 0.80
isEnabledMethod · 0.45

Tested by

no test coverage detected