| 128 | } |
| 129 | |
| 130 | void ProjectControl::command_ProjectCreate(const MyGUI::UString& _commandName, bool& _result) |
| 131 | { |
| 132 | if (!checkCommand()) |
| 133 | return; |
| 134 | |
| 135 | mOpenSaveFileDialog->setCurrentFolder(RecentFilesManager::getInstance().getRecentFolder()); |
| 136 | mOpenSaveFileDialog->setRecentFolders(RecentFilesManager::getInstance().getRecentFolders()); |
| 137 | mOpenSaveFileDialog->setDialogInfo(replaceTags("CaptionCreateFile"), replaceTags("ButtonCreateFile")); |
| 138 | mOpenSaveFileDialog->setMode("Create"); |
| 139 | mOpenSaveFileDialog->doModal(); |
| 140 | |
| 141 | _result = true; |
| 142 | } |
| 143 | |
| 144 | void ProjectControl::command_ProjectLoad(const MyGUI::UString& _commandName, bool& _result) |
| 145 | { |
nothing calls this directly
no test coverage detected