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

Method checkCommand

Tools/SkinEditor/EditorState.cpp:371–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 }
370
371 bool EditorState::checkCommand()
372 {
373 if (DialogManager::getInstance().getAnyDialog())
374 return false;
375
376 if (MessageBoxManager::getInstance().hasAny())
377 return false;
378
379 if (!StateManager::getInstance().getStateActivate(this))
380 return false;
381
382 return true;
383 }
384
385 void EditorState::clear()
386 {

Callers

nothing calls this directly

Calls 3

hasAnyMethod · 0.80
getStateActivateMethod · 0.80
getAnyDialogMethod · 0.45

Tested by

no test coverage detected