]> git.tdb.fi Git - poefilter.git/blobdiff - source/poefilter.cpp
Associate categories and appearances at filter level
[poefilter.git] / source / poefilter.cpp
index 20bf53cd24b115806aec05bf487d7139c0ca2deb..b6fc1475a1f96fc093234d1c0e1a4f71d5524547 100644 (file)
@@ -57,7 +57,7 @@ PoeFilter::Loader::Loader(PoeFilter &f):
 
 void PoeFilter::Loader::category(const string &name)
 {
-       Category cat;
+       Category cat(name);
        load_sub(cat, obj);
        obj.categories[name] = cat;
 }