Fix copy/paste error in r4244

Originally committed to SVN as r4479.
This commit is contained in:
Thomas Goyne 2010-06-11 02:25:40 +00:00
parent 40da39e1c8
commit ccdc863496

View file

@ -476,7 +476,7 @@ void DialogStyleManager::OnCurrentEdit (wxCommandEvent &) {
int n = CurrentList->GetSelections(selections); int n = CurrentList->GetSelections(selections);
if (n == 1) { if (n == 1) {
AssStyle *selStyle = styleMap[selections[0]]; AssStyle *selStyle = styleMap[selections[0]];
DialogStyleEditor editor(this,selStyle,grid,false,&Store); DialogStyleEditor editor(this,selStyle,grid,true,&Store);
if (editor.ShowModal()) { if (editor.ShowModal()) {
CurrentList->SetString(selections[0],selStyle->name); CurrentList->SetString(selections[0],selStyle->name);
} }