From 7f9e8f47397fd511e0e174ca5ca302e51f7f826b Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 29 Apr 2022 11:52:58 -0400 Subject: [PATCH] 2022-04-29 Fred Gleason * Fixed a regression in rdcatch(1) where creating a new event using the 'Save As' button would fail to send notifications of the added event. Signed-off-by: Fred Gleason --- ChangeLog | 4 ++++ rdcatch/rdcatch.cpp | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index d47a5a76..5d6b7c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22996,3 +22996,7 @@ 2022-04-29 Fred Gleason * Added a 'StayOnTop=' directive to the '[SoftKeys]' section of rd.conf(5). +2022-04-29 Fred Gleason + * Fixed a regression in rdcatch(1) where creating a new event + using the 'Save As' button would fail to send notifications of + the added event. diff --git a/rdcatch/rdcatch.cpp b/rdcatch/rdcatch.cpp index 0da8aac2..96ae09a7 100644 --- a/rdcatch/rdcatch.cpp +++ b/rdcatch/rdcatch.cpp @@ -1216,6 +1216,12 @@ void MainWidget::ProcessNewRecords(std::vector *adds) { for(unsigned i=0;isize();i++) { catch_recordings_model->addRecord(adds->at(i)); + + RDNotification *notify= + new RDNotification(RDNotification::CatchEventType, + RDNotification::ModifyAction,adds->at(i)); + rda->ripc()->sendNotification(*notify); + delete notify; } }