mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
After editing an element (opened from the new element panel by double clic, or context menu),
new element panel update the content of the item who represent the edited element (pixmap and name) git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4399 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -182,6 +182,16 @@ QVariant FileElementCollectionItem::data(int column, int role)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief FileElementCollectionItem::clearData
|
||||
* Reset the current icon
|
||||
*/
|
||||
void FileElementCollectionItem::clearData()
|
||||
{
|
||||
m_icon = QIcon();
|
||||
ElementCollectionItem::clearData();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief FileElementCollectionItem::mimeData
|
||||
* @return the mime data of this item
|
||||
|
||||
Reference in New Issue
Block a user