Issue #516 - Resample dialog no longer affects karaoke templater lines.

Originally committed to SVN as r1467.
This commit is contained in:
Rodrigo Braz Monteiro 2007-08-03 17:32:23 +00:00
parent 17c1a5801f
commit d162cb440a

View file

@ -183,7 +183,7 @@ void DialogResample::OnResample (wxCommandEvent &event) {
for (entryIter cur=subs->Line.begin();cur!=subs->Line.end();cur++) {
// Apply to dialogues
curDiag = AssEntry::GetAsDialogue(*cur);
if (curDiag) {
if (curDiag && !(curDiag->Comment && (curDiag->Effect.StartsWith(_T("template")) || curDiag->Effect.StartsWith(_T("code"))))) {
try {
// Override tags
curDiag->ParseASSTags();