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:
xavierqet
2008-08-19 20:35:42 +00:00
parent 3c7c538d7c
commit eb14050796

View File

@@ -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();