mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Diagram Event Interface : clear selection, of edited diagram, at constructor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3836 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -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 @@ DiagramEventInterface::DiagramEventInterface(Diagram *diagram) :
|
||||
m_running(false),
|
||||
m_abort(false)
|
||||
{
|
||||
m_diagram -> clearSelection();
|
||||
}
|
||||
|
||||
DiagramEventInterface::~DiagramEventInterface() {};
|
||||
|
||||
Reference in New Issue
Block a user