diff --git a/src/FluTreeModel.cpp b/src/FluTreeModel.cpp index 2308275c..de9aae3f 100644 --- a/src/FluTreeModel.cpp +++ b/src/FluTreeModel.cpp @@ -1,4 +1,4 @@ -#include "FluTreeModel.h" +#include "FluTreeModel.h" #include @@ -126,6 +126,7 @@ void FluTreeModel::setDataSource(QList> data) { node->_parent = _root; _root->_children.append(node); } + node->_checked = item.value("checked").toBool(); _dataSource.append(node); if (item.contains("children")) { QList children = item.value("children").toList();