added workaround for qtreewidget deleting the wrong item

This commit is contained in:
itsmattkc
2018-12-04 20:01:33 +11:00
parent 3d4512fa3c
commit 6f5cab5f86
9 changed files with 25 additions and 12 deletions
+1 -1
View File
@@ -319,7 +319,7 @@ void Viewer::play_wake() {
if (just_played) {
start_msecs = QDateTime::currentMSecsSinceEpoch();
playback_updater.start();
audio_thread->notifyReceiver();
if (audio_thread != NULL) audio_thread->notifyReceiver();
just_played = false;
}
}