- fixed bug in saving meshlab project on linux

This commit is contained in:
Guido Ranzuglia granzuglia 2013-03-25 15:30:13 +00:00
parent fec8b232f8
commit d9a679b209

View File

@ -1627,8 +1627,12 @@ void MainWindow::saveProject()
/*********WARNING!!!!!! CHANGE IT!!! ALSO IN THE OPENPROJECT FUNCTION********/
meshDoc()->setDocLabel(fileName);
mdiarea->activeSubWindow()->setWindowTitle(meshDoc()->docLabel());
layerDialog->setWindowTitle(meshDoc()->docLabel());
QMdiSubWindow* sub = mdiarea->currentSubWindow();
if (sub != NULL)
{
sub->setWindowTitle(meshDoc()->docLabel());
layerDialog->setWindowTitle(meshDoc()->docLabel());
}
/****************************************************************************/