| 3905 | } |
| 3906 | |
| 3907 | void MapEditorController::changeMapPart(int index) |
| 3908 | { |
| 3909 | if (index >= 0) |
| 3910 | { |
| 3911 | map->setCurrentPartIndex(std::size_t(index)); |
| 3912 | window->showStatusBarMessage(tr("Switched to map part '%1'.").arg(map->getCurrentPart()->getName()), 1000); |
| 3913 | } |
| 3914 | } |
| 3915 | |
| 3916 | void MapEditorController::reassignObjectsToMapPart(int target) |
| 3917 | { |
nothing calls this directly
no test coverage detected