Bugfix for labels opened from commandline not updating menu

git-svn-id: https://svn.code.sf.net/p/qlscribe/svn/trunk@149 cac9541e-1b8d-4bfa-827e-589bba606050
This commit is contained in:
ruglory
2009-04-24 00:31:23 +00:00
parent 51402c10d6
commit 086181cd8f
+2
View File
@@ -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();