Commit 615afbea authored by Dirk Wilden's avatar Dirk Wilden
Browse files

fixed group source/target selection

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6813b8f1
......@@ -103,7 +103,6 @@ QVariant TreeModel::data(const QModelIndex &index, int role) const
// visiblity group
if (item->isGroup()){
QList< BaseObject* > children = item->getLeafs();
bool initRound = true;
for (int i=0; i < children.size(); i++){
if (initRound){
......@@ -601,7 +600,9 @@ bool TreeModel::setData(const QModelIndex &index, const QVariant &value, int /*r
emit dataChanged(index,index);
// emit dataChanged(index,index);
//force everything to be updated (needed to updated parent groups)
emit dataChanged(QModelIndex(),QModelIndex());
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment