Fixed realtime visual typesetting.

Originally committed to SVN as r1391.
This commit is contained in:
Rodrigo Braz Monteiro 2007-07-07 21:18:00 +00:00
parent 12534f74a7
commit b0e2ef92c2

View file

@ -255,8 +255,8 @@ void VisualTool::OnMouseEvent (wxMouseEvent &event) {
// Commit
void VisualTool::Commit(bool full) {
SubtitlesGrid *grid = VideoContext::Get()->grid;
if (full) grid->editBox->CommitText();
grid->ass->FlagAsModified(_("visual typesetting"));
grid->editBox->CommitText();
if (full) grid->ass->FlagAsModified(_("visual typesetting"));
grid->CommitChanges(false,!full);
}