| 123 | } |
| 124 | |
| 125 | static bool findFileStemIn(const std::vector<std::string>& fileList, std::string filename) |
| 126 | { |
| 127 | for (const std::string& file : fileList) |
| 128 | { |
| 129 | if (boost::filesystem::path(file).stem().string() == |
| 130 | boost::filesystem::path(filename).stem().string()) |
| 131 | return true; |
| 132 | } |
| 133 | return false; |
| 134 | } |
| 135 | |
| 136 | bool MenuModeEditorLoad::updateFilesList(const CEGUI::EventArgs&) |
| 137 | { |