forked from mia/Aegisub
Fix copy/paste error in r4244
Originally committed to SVN as r4479.
This commit is contained in:
parent
40da39e1c8
commit
ccdc863496
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue