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