mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 14:43:30 +02:00
2022-08-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcatch(1) that could cause a newly added event to appear twice in the record list. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
fc9aaab81b
commit
96e8b9ba29
@ -23205,3 +23205,6 @@
|
||||
that made it impossible to add switcher events in rdcatch(1).
|
||||
2022-08-01 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to 4.0.0beta3int1.
|
||||
2022-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdcatch(1) that could cause a newly added event
|
||||
to appear twice in the record list.
|
||||
|
@ -462,7 +462,12 @@ void RecordListModel::notificationReceivedData(RDNotification *notify)
|
||||
if(notify->type()==RDNotification::CatchEventType) {
|
||||
switch(notify->action()) {
|
||||
case RDNotification::AddAction:
|
||||
addRecord(notify->id().toUInt());
|
||||
if(d_ids.contains(notify->id().toUInt())) {
|
||||
refresh(notify->id().toUInt());
|
||||
}
|
||||
else {
|
||||
addRecord(notify->id().toUInt());
|
||||
}
|
||||
emit updateNextEvents();
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user