mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fix copy/paste error in r4244
Originally committed to SVN as r4479.
This commit is contained in:
parent
40da39e1c8
commit
ccdc863496
@ -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…
x
Reference in New Issue
Block a user