--- a/src/mainwindow.h Sun Sep 06 13:46:39 2015 +0300 +++ b/src/mainwindow.h Sun Sep 06 15:12:30 2015 +0300 @@ -27,6 +27,7 @@ #include "ldObject.h" #include "colors.h" #include "configurationvaluebag.h" +#include "doublemap.h" class MessageManager; class MainWindow; @@ -146,6 +147,7 @@ class QSettings* m_settings; QList<LDDocument*> m_documents; LDDocument* m_currentDocument; + DoubleMap<LDObject*, QListWidgetItem*> m_objectsInList; private slots: void selectionChanged();