]> git.saurik.com Git - wxWidgets.git/commitdiff
Style selection now restored after editing the style
authorJulian Smart <julian@anthemion.co.uk>
Wed, 24 Jun 2009 10:35:54 +0000 (10:35 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 24 Jun 2009 10:35:54 +0000 (10:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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();
         }
     }