| 85 | } |
| 86 | |
| 87 | void MapEditorTool::deactivate() |
| 88 | { |
| 89 | if (editor->getTool() == this) |
| 90 | { |
| 91 | if (toolType() == MapEditorTool::EditPoint) |
| 92 | editor->setTool(nullptr); |
| 93 | else |
| 94 | editor->setEditTool(); |
| 95 | } |
| 96 | deleteLater(); |
| 97 | } |
| 98 | |
| 99 | void MapEditorTool::switchToDefaultDrawTool(const Symbol* symbol) const |
| 100 | { |
no test coverage detected