mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4865 Use View autoname as MDI-window title
This commit is contained in:
parent
440a152089
commit
98f9eef0da
@ -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() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user