diff --git a/sources/qetdiagrameditor.cpp b/sources/qetdiagrameditor.cpp index 1ec3449df..39633c51a 100644 --- a/sources/qetdiagrameditor.cpp +++ b/sources/qetdiagrameditor.cpp @@ -1302,11 +1302,6 @@ void QETDiagramEditor::addProjectView(ProjectView *project_view) { // gere la fermeture du projet connect(project_view, SIGNAL(projectClosed(ProjectView*)), this, SLOT(projectWasClosed(ProjectView *))); - // gere l'ouverture d'un autre projet apres fermeture - connect(new_file, SIGNAL(triggered()), this, SLOT(slot_updateActions())); - connect(open_file, SIGNAL(triggered()), this, SLOT(slot_updateActions())); - connect(QETApp::projectsRecentFiles(), SIGNAL(fileOpeningRequested(const QString &)), this, SLOT(slot_updateActions())); - // gere l'ajout et le retrait de schema du projet connect(project_view, SIGNAL(diagramAdded(DiagramView *)), this, SLOT(diagramWasAdded(DiagramView *))); connect(project_view, SIGNAL(diagramAdded(DiagramView *)), this, SLOT(slot_updateActions())); @@ -1336,6 +1331,7 @@ void QETDiagramEditor::addProjectView(ProjectView *project_view) { // affiche la fenetre if (maximise) project_view -> showMaximized(); else project_view -> show(); + slot_updateActions(); } /**