diff options
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 76cfb801f..01b1b65cc 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -74,8 +74,11 @@ static std::vector<UpdateFile> loadXMLFile(const std::string &fileName) for_each_xml_child_node(fileNode, rootNode) { - if (!xmlNameEqual(fileNode, "update")) + if (!xmlNameEqual(fileNode, "update") + && !xmlNameEqual(fileNode, "update2")) + { continue; + } UpdateFile file; file.name = XML::getProperty(fileNode, "file", ""); |