mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
After project Was Closed refresh updateActions if new project is open
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2739 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1302,6 +1302,11 @@ 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()));
|
||||
|
||||
Reference in New Issue
Block a user