mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +01:00
Correction d'un bug : apres fermeture d'un schema, le menu Fenetres n'etait pas correctement mis a jour.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@382 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -852,9 +852,10 @@ void QETDiagramEditor::addDiagramView(DiagramView *dv) {
|
||||
|
||||
// ajoute la fenetre
|
||||
QWidget *p = workspace.addWindow(dv);
|
||||
connect(dv -> diagram(), SIGNAL(selectionChanged()), this, SLOT(slot_updateComplexActions()));
|
||||
connect(dv, SIGNAL(modeChanged()), this, SLOT(slot_updateModeActions()));
|
||||
connect(dv, SIGNAL(textAdded(bool)), add_text, SLOT(setChecked(bool)));
|
||||
connect(dv -> diagram(), SIGNAL(selectionChanged()), this, SLOT(slot_updateComplexActions()));
|
||||
connect(dv, SIGNAL(modeChanged()), this, SLOT(slot_updateModeActions()));
|
||||
connect(dv, SIGNAL(textAdded(bool)), add_text, SLOT(setChecked(bool)));
|
||||
connect(dv, SIGNAL(destroyed(QObject *)), this, SLOT(slot_updateWindowsMenu()));
|
||||
|
||||
// affiche la fenetre
|
||||
if (maximise) p -> showMaximized();
|
||||
|
||||
Reference in New Issue
Block a user