Commit 5e886a51 authored by David Jarvie's avatar David Jarvie

Fix crash on closing alarm window of alarm with audio

parent 20e01066
......@@ -1550,7 +1550,7 @@ void MessageWin::playFinished()
if (mSilenceButton)
if (!mAudioThread->error().isEmpty())
if (mAudioThread && !mAudioThread->error().isEmpty())
if (!haveErrorMessage(ErrMsg_AudioFile))
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