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