diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a34f01a..6921233 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -199,6 +199,8 @@ void MainWindow::open( const QStringList &files ) delete newView; continue; } + connect( scene, SIGNAL(selectionChanged()), this, SLOT(updateMenu()) ); + connect( scene, SIGNAL(changed()), this, SLOT(updateMenu()) ); QMdiSubWindow *subWindow = m_mdiArea->addSubWindow( newView ); subWindow->show();