Style selection now restored after editing the style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-06-24 10:35:54 +00:00
parent 04529b2af2
commit e5cda2df16

View File

@@ -705,6 +705,7 @@ void wxRichTextStyleOrganiserDialog::OnEditClick( wxCommandEvent& WXUNUSED(event
}
m_stylesListBox->UpdateStyles();
m_stylesListBox->GetStyleListBox()->SetSelection(sel);
ShowPreview();
}
}