diff --git a/common/treemodel.h b/common/treemodel.h index dee5661..0d6b5ac 100644 --- a/common/treemodel.h +++ b/common/treemodel.h @@ -125,7 +125,7 @@ public: UString data(const UModelIndex &index, int role) const; UString headerData(int section, int orientation, int role = 0) const; - TreeModel() : markingEnabledFlag(false) { + TreeModel() : markingEnabledFlag(false), markingDarkModeFlag(false) { rootItem = new TreeItem(0, Types::Root, 0, UString(), UString(), UString(), UByteArray(), UByteArray(), UByteArray(), true, false); }