| 7473 | } |
| 7474 | |
| 7475 | bool CEditor::HandleMapDrop(const char *pFilename, int StorageType) |
| 7476 | { |
| 7477 | OnDialogClose(); |
| 7478 | if(HasUnsavedData()) |
| 7479 | { |
| 7480 | str_copy(m_aFilenamePendingLoad, pFilename); |
| 7481 | m_PopupEventType = CEditor::POPEVENT_LOADDROP; |
| 7482 | m_PopupEventActivated = true; |
| 7483 | return true; |
| 7484 | } |
| 7485 | else |
| 7486 | { |
| 7487 | return Load(pFilename, IStorage::TYPE_ALL_OR_ABSOLUTE); |
| 7488 | } |
| 7489 | } |
| 7490 | |
| 7491 | bool CEditor::Load(const char *pFilename, int StorageType) |
| 7492 | { |
no test coverage detected