MCPcopy Create free account
hub / github.com/MyGUI/mygui / checkCommand

Method checkCommand

Tools/LayoutEditor/EditorState.cpp:490–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 }
489
490 bool EditorState::checkCommand()
491 {
492 if (DialogManager::getInstance().getAnyDialog())
493 return false;
494
495 if (MessageBoxManager::getInstance().hasAny())
496 return false;
497
498 if (!StateManager::getInstance().getStateActivate(this))
499 return false;
500
501 return true;
502 }
503
504 void EditorState::notifyChanges(bool _changes)
505 {

Callers

nothing calls this directly

Calls 3

hasAnyMethod · 0.80
getStateActivateMethod · 0.80
getAnyDialogMethod · 0.45

Tested by

no test coverage detected