X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c268eb3272590152f7f3b1ff20918cd0de193005..2028c33ab5a39a12bd410ac953731a56ad6377ba:/src/richtext/richtextstyledlg.cpp?ds=sidebyside 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(); } }