mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Fix crash : Element editor crash when we close it and several part of the same type (for exemple ellipse) are selected.
Thanks Morganol for find this crash git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4736 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -323,7 +323,7 @@ void QETElementEditor::setupActions() {
|
||||
addToolBar(Qt::TopToolBarArea, view_toolbar);
|
||||
addToolBar(Qt::TopToolBarArea, element_toolbar);
|
||||
|
||||
connect(ce_scene, SIGNAL(selectionChanged()), this, SLOT(slot_updateInformations()));
|
||||
connect(ce_scene, SIGNAL(selectionChanged()), this, SLOT(slot_updateInformations()), Qt::QueuedConnection);
|
||||
connect(ce_scene, SIGNAL(selectionChanged()), this, SLOT(slot_updateMenus()));
|
||||
connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(slot_updateMenus()));
|
||||
connect(&(ce_scene -> undoStack()), SIGNAL(cleanChanged(bool)), this, SLOT(slot_updateMenus()));
|
||||
|
||||
Reference in New Issue
Block a user