Select model on double-click
Fixes https://gitlab.com/kicad/code/kicad/issues/7070
This commit is contained in:
parent
c22921ee4f
commit
26524ef41e
|
@ -184,8 +184,7 @@ void DLG_SELECT_3DMODEL::OnFileActivated( wxCommandEvent& event )
|
||||||
if( m_modelViewer )
|
if( m_modelViewer )
|
||||||
m_modelViewer->Set3DModel( m_FileTree->GetFilePath() );
|
m_modelViewer->Set3DModel( m_FileTree->GetFilePath() );
|
||||||
|
|
||||||
SetEscapeId( wxID_OK );
|
EndQuasiModal( wxID_OK );
|
||||||
Close();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue