Some optimizations on empty wxString comparison and on Search (Database)
This commit is contained in:
@@ -168,7 +168,7 @@ void wxUI::LoadUser()
|
||||
if (_statsPanel)
|
||||
delete _statsPanel;
|
||||
|
||||
if (user->_preferences[wxT("language")] != wxT(""))
|
||||
if (user->_preferences[wxT("language")].Length())
|
||||
SetLanguage(user->GetLanguage());
|
||||
|
||||
_accountPanel = new AccountPanel(_kiss, this);
|
||||
|
||||
Reference in New Issue
Block a user