mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Enable the drag & drop of an element from the element panel (an embedded element of a project) to the folio of another project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4388 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -789,7 +789,9 @@ QString QETProject::integrateElement(const QString &elmt_path, MoveElementsHandl
|
||||
{
|
||||
// integre l'element normalement
|
||||
result = copyElementWithHandler(integ_elmt, target_cat, handler, error_message);
|
||||
QString xml_path = m_elements_collection->addElement(elmt_path);
|
||||
|
||||
ElementsLocation location(elmt_path);
|
||||
QString xml_path = m_elements_collection->addElement(location);
|
||||
if (!xml_path.isNull()) emit elementIntegratedToCollection(this, xml_path);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user