X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c268eb3272590152f7f3b1ff20918cd0de193005..7dfede7b9258ef73c402462e6442b1a8ae069d7a:/src/richtext/richtextstyledlg.cpp diff --git a/src/richtext/richtextstyledlg.cpp b/src/richtext/richtextstyledlg.cpp index 5ea12e7126..5c7c85af92 100644 --- a/src/richtext/richtextstyledlg.cpp +++ b/src/richtext/richtextstyledlg.cpp @@ -705,6 +705,7 @@ void wxRichTextStyleOrganiserDialog::OnEditClick( wxCommandEvent& WXUNUSED(event } m_stylesListBox->UpdateStyles(); + m_stylesListBox->GetStyleListBox()->SetSelection(sel); ShowPreview(); } }