Commit fd8a58eb authored by David Jarvie's avatar David Jarvie
Browse files

Don't show Defer button in alarm window after clicking Try more than once

Clicking the Try button in the alarm edit dialog shows the alarm
message window without a Defer button. Clicking Try again should not
add a Defer button to the alarm window.
parent e2661f25
Pipeline #34332 passed with stage
in 10 minutes and 24 seconds
......@@ -2199,7 +2199,7 @@ void* KAlarmApp::execAlarm(KAEvent& event, const KAAlarm& alarm, ExecAlarmFlags
// The caption needs to be changed from "Reminder" to "Message"
win->cancelReminder(event, alarm);
else if (!win->hasDefer() && !alarm.repeatAtLogin())
else if (!win->hasDefer() && event.repeatAtLogin() && !alarm.repeatAtLogin())
// It's a repeat-at-login message with no Defer button,
// which has now reached its final trigger time and needs
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