Skip to content
Snippets Groups Projects
Commit 279f1177 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Instrument is not generate anymore when there is drag and drop of standard sample

parent 48167bc1
No related branches found
No related tags found
No related merge requests found
......@@ -452,9 +452,9 @@ void DesignerScene::dropEvent(QGraphicsSceneDragDropEvent *event)
m_aligner->alignSample(topItem, reference, true);
// building corresponding instrument
if(m_instrumentModel) {
GUIExamplesFactory::createInstrumentItems(mimeData->getClassName(), m_instrumentModel);
}
// if(m_instrumentModel) {
// GUIExamplesFactory::createInstrumentItems(mimeData->getClassName(), m_instrumentModel);
// }
}
adjustSceneRect();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment