Fixed an issue with the Set Start/End to Video and Snap to Scene hotkeys and toolbar buttons where any uncommited changes in the editbox would be reverted. They now behave the same as setting the time via the text boxes.

Originally committed to SVN as r3095.
This commit is contained in:
Thomas Goyne 2009-07-03 18:35:46 +00:00
parent 4d0f48f303
commit 7ecbbf2e5c
2 changed files with 2 additions and 2 deletions

View File

@ -1228,7 +1228,7 @@ void FrameMain::OnSnapToScene (wxCommandEvent &event) {
}
// Commit
SubsBox->editBox->Update();
SubsBox->editBox->Update(true);
SubsBox->ass->FlagAsModified(_("snap to scene"));
SubsBox->CommitChanges();
}

View File

@ -1473,7 +1473,7 @@ void SubtitlesGrid::SetSubsToVideo(bool start) {
if (modified) {
ass->FlagAsModified(_("timing"));
CommitChanges();
editBox->Update();
editBox->Update(true);
}
}