Skip to content
Snippets Groups Projects
Commit 508f8d2e authored by Stéphane Albert's avatar Stéphane Albert
Browse files

ENH: Fixed crash in Monteverdi2 due to unset reference-layer.

parent f0ebd40f
No related branches found
No related tags found
No related merge requests found
......@@ -1430,6 +1430,7 @@ MainWindow
stackedLayerModel->Clear();
stackedLayerModel->Add( vectorImageModel );
stackedLayerModel->SetCurrent( vectorImageModel );
stackedLayerModel->SetReference( StackedLayerModel::SizeType( 0 ) );
}
m_ImageView->UpdateScene();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment