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
1 changed files with 1 additions and 1 deletions

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;