SYMBOL_VIEWER_FRAME: fix refresh of the canvas after selecting a new symbol.
From Master branch
This commit is contained in:
parent
0317185860
commit
e9a5e5466c
|
@ -369,7 +369,8 @@ void SYMBOL_VIEWER_FRAME::updatePreviewSymbol()
|
|||
AppendMsgPanel( _( "Keywords" ), m_previewItem->GetKeyWords() );
|
||||
}
|
||||
|
||||
GetCanvas()->ForceRefresh();
|
||||
m_toolManager->RunAction( ACTIONS::zoomFitScreen, true );
|
||||
GetCanvas()->Refresh();
|
||||
}
|
||||
|
||||
|
||||
|
@ -675,7 +676,6 @@ void SYMBOL_VIEWER_FRAME::SetSelectedSymbol( const wxString& aSymbolName )
|
|||
}
|
||||
|
||||
updatePreviewSymbol();
|
||||
m_toolManager->RunAction( ACTIONS::zoomFitScreen, true );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue