Skip to content

Commit

Permalink
Merge pull request qgis#56608 from nyalldawson/fix56602
Browse files Browse the repository at this point in the history
Fix renaming secondary map canvases
  • Loading branch information
rouault authored Mar 3, 2024
2 parents 71e8fb8 + 03c99bd commit 2affc16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15991,9 +15991,11 @@ void QgisApp::renameView()
if ( renameDlg.exec() || renameDlg.name().isEmpty() )
{
QString newName = renameDlg.name();
view->setWindowTitle( newName );
view->dockableWidgetHelper()->setWindowTitle( newName );
view->mapCanvas()->setObjectName( newName );
}
view->raise();
view->activateWindow();
}

QgsRasterLayer *QgisApp::addRasterLayer( QString const &uri, QString const &baseName, QString const &providerKey )
Expand Down

0 comments on commit 2affc16

Please sign in to comment.