| 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 | { |
nothing calls this directly
no test coverage detected