#4865 Use View autoname as MDI-window title

This commit is contained in:
Jacob Støren 2019-10-14 12:09:41 +02:00
parent 440a152089
commit 98f9eef0da

View File

@ -298,17 +298,7 @@ void Rim3dView::updateMdiWindowTitle()
{
if ( m_viewer )
{
QString windowTitle;
if ( ownerCase() )
{
windowTitle = QString( "%1 - %2" ).arg( ownerCase()->caseUserDescription() ).arg( name() );
}
else
{
windowTitle = name();
}
m_viewer->layoutWidget()->setWindowTitle( windowTitle );
m_viewer->layoutWidget()->setWindowTitle( autoName() );
}
}