mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 21:40:52 +01:00
New element panel can read the embedded collection of project (only at opening, other fonctionnality isn't created yet)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4287 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -130,7 +130,7 @@ QString FileElementCollectionItem::collectionPath() const
|
||||
QVariant FileElementCollectionItem::data(int column, int role)
|
||||
{
|
||||
//element collection have only one column
|
||||
if (column > 1)
|
||||
if (column > 0)
|
||||
return QVariant();
|
||||
|
||||
switch (role)
|
||||
@@ -169,8 +169,6 @@ QVariant FileElementCollectionItem::data(int column, int role)
|
||||
return QVariant();
|
||||
break;
|
||||
}
|
||||
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user