mirror of https://github.com/odrling/Aegisub
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:
parent
31aed4c1a7
commit
eed65e8945
|
@ -912,6 +912,10 @@ void SubsEditBox::Commit(bool stay) {
|
||||||
|
|
||||||
// Update file
|
// Update file
|
||||||
if (!updated && textNeedsCommit) {
|
if (!updated && textNeedsCommit) {
|
||||||
|
if (StartTime->HasBeenModified() || EndTime->HasBeenModified()) {
|
||||||
|
StartTime->Update();
|
||||||
|
EndTime->Update();
|
||||||
|
}
|
||||||
grid->ass->FlagAsModified(_("editing"));
|
grid->ass->FlagAsModified(_("editing"));
|
||||||
grid->CommitChanges();
|
grid->CommitChanges();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue