2021-08-03 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdcatch(1) that caused the start
	time for Macro Cart events to fail to be saved after creation
	or editing.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-08-03 15:05:09 -04:00
parent 03d9e4959c
commit c0f1f4d1c6
2 changed files with 8 additions and 0 deletions

View File

@ -22138,3 +22138,7 @@
* Added a warning to files derived by the build system.
2021-07-31 Fred Gleason <fredg@paravelsystems.com>
* Updated the package version to 4.0.0beta2.
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatch(1) that caused the start
time for Macro Cart events to fail to be saved after creation
or editing.

View File

@ -185,10 +185,14 @@ void EventWidget::toRecording(unsigned record_id) const
break;
case EventWidget::PlayEvent:
sql+=",`START_TIME`='"+RDEscapeString(d_time_edit->time().
toString("hh:mm:ss"))+"' ";
sql+=QString().sprintf(",`CHANNEL`=%u ",d_current_deck_number+128);
break;
case EventWidget::OtherEvent:
sql+=",`START_TIME`='"+RDEscapeString(d_time_edit->time().
toString("hh:mm:ss"))+"' ";
break;
}
sql+="where "+