Skip to content

Commit 9560bba

Browse files
committed
Fix crash when loading projects with multi canvas
1 parent 271ed6c commit 9560bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/qgisapp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3172,6 +3172,7 @@ void QgisApp::closeAdditionalMapCanvases()
31723172
Q_FOREACH ( QgsMapCanvasDockWidget *w, findChildren< QgsMapCanvasDockWidget * >() )
31733173
{
31743174
w->closeWithoutWarning();
3175+
delete w;
31753176
}
31763177
freezeCanvases( false );
31773178
}

0 commit comments

Comments
 (0)