diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/language_tag_dialog.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/language_tag_dialog.cc b/src/wx/language_tag_dialog.cc index 0d0203e90..1c3ab2f30 100644 --- a/src/wx/language_tag_dialog.cc +++ b/src/wx/language_tag_dialog.cc @@ -70,6 +70,11 @@ public: SetItemState (item, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED); EnsureVisible (item); } + } else { + if (GetItemCount() > 0) { + /* The new list sometimes isn't visible without this */ + EnsureVisible (0); + } } } |
