Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
89
void CommandPrivate::updateActiveState()
90
{
91
setActive(action->isEnabled() && action->isVisible() && !action->isSeparator());
92
}
93
94
void CommandPrivate::setActive(bool state)
95
{
Callers
nothing calls this directly
Calls
2
isVisible
Method · 0.80
isEnabled
Method · 0.45
Tested by
no test coverage detected