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

Fix crash after clicking Try when editing an audio alarm

parent 9e8e3f63
Pipeline #38353 passed with stage
in 16 minutes and 50 seconds
......@@ -2327,7 +2327,7 @@ void* KAlarmApp::execAlarm(KAEvent& event, const KAAlarm& alarm, ExecAlarmFlags
// There's an existing message window: replay the sound
disp->repeat(alarm); // N.B. this reschedules the alarm
return disp;
return dynamic_cast<MessageWindow*>(disp);
return nullptr;
Supports Markdown
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