1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

Undo descriptions for auto4-lua scripts

Originally committed to SVN as r902.
This commit is contained in:
Niels Martin Hansen 2007-01-27 15:11:10 +00:00
parent d5c7749138
commit d92222294e

View File

@ -888,7 +888,7 @@ namespace Automation4 {
description = wxString(lua_tostring(L, 1), wxConvUTF8);
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
return 0;