Fix ambiguous cast
This commit is contained in:
parent
49ced23ba8
commit
84df2c86ae
|
@ -884,8 +884,8 @@ void SYMBOL_VIEWER_FRAME::ClickOnLibList( wxCommandEvent& event )
|
|||
void SYMBOL_VIEWER_FRAME::SetSelectedLibrary( const wxString& aLibraryName,
|
||||
const wxString& aSubLibName )
|
||||
{
|
||||
if( m_currentSymbol.GetUniStringLibNickname() == aLibraryName &&
|
||||
wxString( m_currentSymbol.GetSubLibraryName() ) == aSubLibName )
|
||||
if( m_currentSymbol.GetUniStringLibNickname() == aLibraryName
|
||||
&& m_currentSymbol.GetSubLibraryName().wx_str() == aSubLibName )
|
||||
return;
|
||||
|
||||
m_currentSymbol.SetLibNickname( aLibraryName );
|
||||
|
|
Loading…
Reference in New Issue