From 851265844f8720cc98aba17a47b8be9add91b491 Mon Sep 17 00:00:00 2001 From: Claveau Joshua Date: Sun, 12 Apr 2020 20:10:30 +0200 Subject: [PATCH] Fix break from merge of qetgraphicsTableItem to master --- sources/qetdiagrameditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/qetdiagrameditor.cpp b/sources/qetdiagrameditor.cpp index db6ee09a7..04a52223f 100644 --- a/sources/qetdiagrameditor.cpp +++ b/sources/qetdiagrameditor.cpp @@ -2158,7 +2158,7 @@ void QETDiagramEditor::removeDiagramFromProject() { */ void QETDiagramEditor::diagramWasAdded(DiagramView *dv) { - connect(dv, SIGNAL(modeChanged()), this, SLOT(slot_updateModeActions())); + connect(dv->diagram(), &QGraphicsScene::selectionChanged, this, &QETDiagramEditor::selectionChanged, Qt::DirectConnection); connect(dv, SIGNAL(modeChanged()), this, SLOT(slot_updateModeActions())); }