Skip to content

Commit

Permalink
Fix Bug when I need to see the property of not a char field
Browse files Browse the repository at this point in the history
closes #365
  • Loading branch information
arvanus committed Mar 21, 2024
1 parent e7533b2 commit f96cb15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/metadata/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ wxArrayString Database::getCharacterSet()
wxArrayString Database::getCollations(const wxString& charset)
{
CharacterSetPtr characterSet = characterSetsM->findByName(charset);
if (!characterSet)
return wxArrayString();
characterSet->ensureChildrenLoaded();

return characterSet->getCollations();
Expand Down

0 comments on commit f96cb15

Please sign in to comment.