Formatting.

This commit is contained in:
Jeff Young 2024-05-31 10:36:40 +01:00
parent 1eb26b439a
commit 7151f9a131
2 changed files with 2 additions and 4 deletions

View File

@ -731,9 +731,7 @@ void LIB_TREE::hidePreview()
m_previewItem = wxDataViewItem();
if( m_previewWindow )
{
m_previewWindow->Hide();
}
}

View File

@ -330,8 +330,8 @@ void FP_TREE_SYNCHRONIZING_ADAPTER::ShowPreview( wxWindow* aParent, const wxData
LIB_TREE_NODE* node = ToNode( aItem );
wxCHECK( node, /* void */ );
FOOTPRINT_PREVIEW_PANEL* preview = dynamic_cast<FOOTPRINT_PREVIEW_PANEL*>(
wxWindow::FindWindowByName( c_previewName, aParent ) );
wxWindow* previewWindow = wxWindow::FindWindowByName( c_previewName, aParent );
FOOTPRINT_PREVIEW_PANEL* preview = dynamic_cast<FOOTPRINT_PREVIEW_PANEL*>( previewWindow );
if( !preview )
{