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:
parent
4d0f48f303
commit
7ecbbf2e5c
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -1473,7 +1473,7 @@ void SubtitlesGrid::SetSubsToVideo(bool start) {
|
|||
if (modified) {
|
||||
ass->FlagAsModified(_("timing"));
|
||||
CommitChanges();
|
||||
editBox->Update();
|
||||
editBox->Update(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue