Commit 7e6c9bf2 authored by David Jarvie's avatar David Jarvie
Browse files

Fix error on redo of an active alarm deletion

parent 38e23ee0
KAlarm Change Log KAlarm Change Log
=== Version 2.12.7 (KDE Applications 19.08.2) --- 9 October 2019 === === Version 2.12.7 (KDE Applications 19.08.2) --- 10 October 2019 ===
+ Show correct read-only status of an alarm in its context menu. + Show correct read-only status of an alarm in its context menu.
+ Fix errors deleting and reactivating alarms (regression introduced in 2.12.5). + Fix errors deleting and reactivating alarms (regression introduced in 2.12.5).
+ Fix error on undo of an active alarm deletion. + Fix error on undo of an active alarm deletion.
+ Fix error on redo of an active alarm deletion.
+ Don't trigger repeat-at-login alarms when they are edited or imported. + Don't trigger repeat-at-login alarms when they are edited or imported.
+ Archive repeat-at-login alarms if previously triggered, when they are deleted. + Archive repeat-at-login alarms if previously triggered, when they are deleted.
......
...@@ -1089,6 +1089,7 @@ UndoItem* UndoDelete::restore() ...@@ -1089,6 +1089,7 @@ UndoItem* UndoDelete::restore()
} }
// Create a redo item to delete the alarm again // Create a redo item to delete the alarm again
mEvent->setCategory(CalEvent::ACTIVE);
return createRedo(*mEvent, mResource); return createRedo(*mEvent, mResource);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment