Fix a minor graphical glitch in the time edit boxes introduced in r2859. Patch by Harukalover. updates #794

Originally committed to SVN as r2860.
This commit is contained in:
Karl Blomster 2009-04-26 01:23:01 +00:00
parent fe05adb64e
commit 2ba20b12c8

View file

@ -912,6 +912,10 @@ void SubsEditBox::Commit(bool stay) {
// Update file
if (!updated && textNeedsCommit) {
if (StartTime->HasBeenModified() || EndTime->HasBeenModified()) {
StartTime->Update();
EndTime->Update();
}
grid->ass->FlagAsModified(_("editing"));
grid->CommitChanges();
}