Diff of /src/plugins/circuit/circuitscene.cpp [f6eaf3] .. [057e60] Maximize Restore

  Switch to side-by-side view

--- a/src/plugins/circuit/circuitscene.cpp
+++ b/src/plugins/circuit/circuitscene.cpp
@@ -67,11 +67,7 @@
     }
     const ComponentMimeData *mimeData = qobject_cast<const ComponentMimeData*>(event->mimeData());
 
-    ComponentItem* item =
-        new ComponentItem(
-            m_model->createComponent(mimeData,event->scenePos()),
-            m_theme
-        );
+    ComponentItem* item = m_plugin->createComponentItem(m_model->createComponent(mimeData,event->scenePos()),m_theme);
     item->setVisible(true);
     addItem( item );
     m_components.insert(item->id(), item);