From 279f1177661125e662b04183a78e0e588477e598 Mon Sep 17 00:00:00 2001 From: Gennady Pospelov <g.pospelov@fz-juelich.de> Date: Fri, 17 Apr 2015 17:40:49 +0200 Subject: [PATCH] Instrument is not generate anymore when there is drag and drop of standard sample --- GUI/coregui/Views/SampleDesigner/DesignerScene.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GUI/coregui/Views/SampleDesigner/DesignerScene.cpp b/GUI/coregui/Views/SampleDesigner/DesignerScene.cpp index bd47027d7ec..323301c3215 100644 --- a/GUI/coregui/Views/SampleDesigner/DesignerScene.cpp +++ b/GUI/coregui/Views/SampleDesigner/DesignerScene.cpp @@ -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(); } -- GitLab