1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

End the batch if the Paste Over dialog is cancelled rather than horribly breaking everything

Originally committed to SVN as r6596.
This commit is contained in:
Thomas Goyne 2012-03-25 04:04:42 +00:00
parent ddc70bcd9c
commit ae5d6edaed

View File

@ -259,6 +259,7 @@ void SubtitlesGrid::PasteLines(int n,bool pasteOver) {
DialogPasteOver diag(context->parent);
if (diag.ShowModal()) {
delete curdiag;
EndBatch();
return;
}
pasteOverOptions = OPT_GET("Tool/Paste Lines Over/Fields")->GetListBool();