| 396 | } |
| 397 | |
| 398 | bool EditorState::checkCommand() |
| 399 | { |
| 400 | if (DialogManager::getInstance().getAnyDialog()) |
| 401 | return false; |
| 402 | |
| 403 | if (MessageBoxManager::getInstance().hasAny()) |
| 404 | return false; |
| 405 | |
| 406 | if (!StateManager::getInstance().getStateActivate(this)) |
| 407 | return false; |
| 408 | |
| 409 | return true; |
| 410 | } |
| 411 | |
| 412 | void EditorState::clear() |
| 413 | { |
nothing calls this directly
no test coverage detected