#4892 Add (Primary) and (Controlled) labels to view window titles

This commit is contained in:
Jacob Støren committed 2019-10-29 12:47:01 +01:00
1 parent 3710b4ba58
commit b729ce7228
3 files changed
+14 -2

No files matched your search

@@ -291,7 +291,8 @@ void Rim3dView::updateMdiWindowTitle()
{
if ( m_viewer )
{
m_viewer->layoutWidget()->setWindowTitle( autoName() );
m_viewer->layoutWidget()->setWindowTitle(
autoName() + ( isMasterView() ? " (Primary)" : viewController() ? " (Controlled)" : "" ) );
}
}