mirror of https://github.com/odrling/Aegisub
Undo descriptions for auto4-lua scripts
Originally committed to SVN as r902.
This commit is contained in:
parent
d5c7749138
commit
d92222294e
|
@ -888,7 +888,7 @@ namespace Automation4 {
|
||||||
description = wxString(lua_tostring(L, 1), wxConvUTF8);
|
description = wxString(lua_tostring(L, 1), wxConvUTF8);
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
}
|
}
|
||||||
AssFile::top->FlagAsModified(_T(""));
|
AssFile::top->FlagAsModified(description);
|
||||||
|
|
||||||
laf->ass = AssFile::top; // make sure we're still working on the most recent undo point
|
laf->ass = AssFile::top; // make sure we're still working on the most recent undo point
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue