Navigation Menu

Skip to content

Commit

Permalink
Fix crash when loading projects with multi canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 13, 2017
1 parent 271ed6c commit 9560bba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -3172,6 +3172,7 @@ void QgisApp::closeAdditionalMapCanvases()
Q_FOREACH ( QgsMapCanvasDockWidget *w, findChildren< QgsMapCanvasDockWidget * >() )
{
w->closeWithoutWarning();
delete w;
}
freezeCanvases( false );
}
Expand Down

0 comments on commit 9560bba

Please sign in to comment.