Select model on double-click

Fixes https://gitlab.com/kicad/code/kicad/issues/7070
This commit is contained in:
Seth Hillbrand 2021-01-12 15:21:14 -08:00
parent c22921ee4f
commit 26524ef41e
1 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,7 @@ void DLG_SELECT_3DMODEL::OnFileActivated( wxCommandEvent& event )
if( m_modelViewer )
m_modelViewer->Set3DModel( m_FileTree->GetFilePath() );
SetEscapeId( wxID_OK );
Close();
EndQuasiModal( wxID_OK );
}