summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/updaterwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp
index 7ff7d6857..197b97e3a 100644
--- a/src/gui/updaterwindow.cpp
+++ b/src/gui/updaterwindow.cpp
@@ -77,10 +77,12 @@ std::vector<UpdateFile> loadXMLFile(const std::string &fileName)
for_each_xml_child_node(fileNode, rootNode)
{
- // Ignore all tags except for the "update" tags
if (!xmlNameEqual(fileNode, "update"))
continue;
+ if (XML::getProperty(fileNode, "group", "default") != "default")
+ continue;
+
UpdateFile file;
file.name = XML::getProperty(fileNode, "file", "");
file.hash = XML::getProperty(fileNode, "hash", "");