mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2023-07-12 Fred Gleason <fredg@paravelsystems.com>
* Fixed a fencepost bug in the 'Render Log' dialog in rdlogedit(1) that caused rendered log to include the cart immediately after the end of the selected section when setting the 'Include' dropdown to 'Only Selected Events'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1028,7 +1028,7 @@ void EditLog::renderasData()
|
||||
}
|
||||
else {
|
||||
edit_render_dialog->exec(rda->user(),edit_log_model,rows.first().row(),
|
||||
1+rows.last().row());
|
||||
rows.last().row());
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Render Log Dialog for Rivendell.
|
||||
//
|
||||
// (C) Copyright 2017-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2017-2023 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -295,16 +295,19 @@ void RenderDialog::renderData()
|
||||
QMessageBox::warning(this,"RDLogEdit - "+tr("Rendering Error"),
|
||||
err_msg);
|
||||
delete r;
|
||||
render_progress_dialog->reset();
|
||||
return;
|
||||
}
|
||||
delete r;
|
||||
|
||||
render_progress_dialog->reset();
|
||||
done(true);
|
||||
}
|
||||
|
||||
|
||||
void RenderDialog::cancelData()
|
||||
{
|
||||
render_progress_dialog->reset();
|
||||
done(false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user