[qet] [3836] Diagram Event Interface : clear selection, of edited diagram, at constructor

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3836
Author:   blacksun
Date:     2015-03-20 12:58:22 +0100 (Fri, 20 Mar 2015)
Log Message:
-----------
Diagram Event Interface : clear selection, of edited diagram, at constructor

Modified Paths:
--------------
    trunk/sources/diagramevent/diagrameventinterface.cpp

Modified: trunk/sources/diagramevent/diagrameventinterface.cpp
===================================================================
--- trunk/sources/diagramevent/diagrameventinterface.cpp	2015-03-19 11:07:21 UTC (rev 3835)
+++ trunk/sources/diagramevent/diagrameventinterface.cpp	2015-03-20 11:58:22 UTC (rev 3836)
@@ -16,6 +16,7 @@
 	along with QElectroTech.  If not, see <http://www.gnu.org/licenses/>.
 */
 #include "diagrameventinterface.h"
+#include "diagram.h"
 #include <QGraphicsSceneMouseEvent>
 #include <QKeyEvent>
 
@@ -25,6 +26,7 @@
 	m_running(false),
 	m_abort(false)
 {
+	m_diagram -> clearSelection();
 }
 
 DiagramEventInterface::~DiagramEventInterface() {};


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/