forked from mia/Aegisub
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
61c0cbcb17
commit
6e3b30c43b
|
@ -1228,7 +1228,7 @@ void FrameMain::OnSnapToScene (wxCommandEvent &event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Commit
|
// Commit
|
||||||
SubsBox->editBox->Update();
|
SubsBox->editBox->Update(true);
|
||||||
SubsBox->ass->FlagAsModified(_("snap to scene"));
|
SubsBox->ass->FlagAsModified(_("snap to scene"));
|
||||||
SubsBox->CommitChanges();
|
SubsBox->CommitChanges();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1473,7 +1473,7 @@ void SubtitlesGrid::SetSubsToVideo(bool start) {
|
||||||
if (modified) {
|
if (modified) {
|
||||||
ass->FlagAsModified(_("timing"));
|
ass->FlagAsModified(_("timing"));
|
||||||
CommitChanges();
|
CommitChanges();
|
||||||
editBox->Update();
|
editBox->Update(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue