]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextstyledlg.cpp
Don't pass NULL to wxDir, rather hop over when trying to find dir with translation
[wxWidgets.git] / src / richtext / richtextstyledlg.cpp
index 5ea12e712641401382b93bb76625135f2abbdcbf..5c7c85af920c053907a0ba6ca0e610a7ee39fead 100644 (file)
@@ -705,6 +705,7 @@ void wxRichTextStyleOrganiserDialog::OnEditClick( wxCommandEvent& WXUNUSED(event
             }
 
             m_stylesListBox->UpdateStyles();
+            m_stylesListBox->GetStyleListBox()->SetSelection(sel);
             ShowPreview();
         }
     }