From c0f1f4d1c6b3e29b0d20fcc8566f959aef434e79 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Tue, 3 Aug 2021 15:05:09 -0400 Subject: [PATCH] 2021-08-03 Fred Gleason * 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 --- ChangeLog | 4 ++++ rdcatch/eventwidget.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index bed41a04..0af75ace 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22138,3 +22138,7 @@ * Added a warning to files derived by the build system. 2021-07-31 Fred Gleason * Updated the package version to 4.0.0beta2. +2021-08-03 Fred Gleason + * Fixed a regression in rdcatch(1) that caused the start + time for Macro Cart events to fail to be saved after creation + or editing. diff --git a/rdcatch/eventwidget.cpp b/rdcatch/eventwidget.cpp index 39e09dc3..ea3b17c1 100644 --- a/rdcatch/eventwidget.cpp +++ b/rdcatch/eventwidget.cpp @@ -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 "+