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,
|
void SYMBOL_VIEWER_FRAME::SetSelectedLibrary( const wxString& aLibraryName,
|
||||||
const wxString& aSubLibName )
|
const wxString& aSubLibName )
|
||||||
{
|
{
|
||||||
if( m_currentSymbol.GetUniStringLibNickname() == aLibraryName &&
|
if( m_currentSymbol.GetUniStringLibNickname() == aLibraryName
|
||||||
wxString( m_currentSymbol.GetSubLibraryName() ) == aSubLibName )
|
&& m_currentSymbol.GetSubLibraryName().wx_str() == aSubLibName )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_currentSymbol.SetLibNickname( aLibraryName );
|
m_currentSymbol.SetLibNickname( aLibraryName );
|
||||||
|
|
Loading…
Reference in New Issue