Fixed realtime visual typesetting.
Originally committed to SVN as r1391.
This commit is contained in:
parent
12534f74a7
commit
b0e2ef92c2
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue