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 31aed4c1a7
commit eed65e8945
1 changed files with 4 additions and 0 deletions

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();
}