diff options
Diffstat (limited to 'tools/mapedit/src/frame.cpp')
-rw-r--r-- | tools/mapedit/src/frame.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/mapedit/src/frame.cpp b/tools/mapedit/src/frame.cpp index 6119ad3..0b03448 100644 --- a/tools/mapedit/src/frame.cpp +++ b/tools/mapedit/src/frame.cpp | |||
@@ -301,6 +301,13 @@ void MapeditFrame::OnCancelAddEntity(wxCommandEvent&) | |||
301 | mapEditor->CancelAddingEntity(); | 301 | mapEditor->CancelAddingEntity(); |
302 | } | 302 | } |
303 | 303 | ||
304 | void MapeditFrame::StartAddingEntity() | ||
305 | { | ||
306 | addingEntity = true; | ||
307 | addEntityButton->Disable(); | ||
308 | cancelEntityButton->Enable(); | ||
309 | } | ||
310 | |||
304 | void MapeditFrame::FinishAddingEntity() | 311 | void MapeditFrame::FinishAddingEntity() |
305 | { | 312 | { |
306 | addingEntity = false; | 313 | addingEntity = false; |