Fix typo in resetting selection after rebuilding colour theme popup.
This commit is contained in:
parent
59ba793096
commit
6075112ea0
|
@ -180,7 +180,7 @@ void PANEL_COLOR_SETTINGS::createThemeList( const wxString& aCurrent )
|
|||
{
|
||||
int pos = m_cbTheme->Append( settings->GetName(), static_cast<void*>( settings ) );
|
||||
|
||||
if( settings->GetFilename() == aCurrent )
|
||||
if( settings->GetName() == aCurrent )
|
||||
m_cbTheme->SetSelection( pos );
|
||||
|
||||
m_cbTheme->GetTextExtent( settings->GetName(), &width, &height );
|
||||
|
|
Loading…
Reference in New Issue