Formatting.
This commit is contained in:
parent
1eb26b439a
commit
7151f9a131
|
@ -731,9 +731,7 @@ void LIB_TREE::hidePreview()
|
|||
m_previewItem = wxDataViewItem();
|
||||
|
||||
if( m_previewWindow )
|
||||
{
|
||||
m_previewWindow->Hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue