From b2d0e81723944121c39ce0017ae61f59d688e5fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 2 Jun 2007 22:53:09 +0000 Subject: [PATCH] * as an observer, the view needs to handle all observer notification messages, or else these messages end up in the window MessageReceived() (since the MainWindow was observing the same notifier, it received some notifications twice, which was part of the reason that unrecognized files produced multiple error messages as reported by Marcus) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21298 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/ControllerView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/mediaplayer/ControllerView.cpp b/src/apps/mediaplayer/ControllerView.cpp index 2819213a02..c492fd596f 100644 --- a/src/apps/mediaplayer/ControllerView.cpp +++ b/src/apps/mediaplayer/ControllerView.cpp @@ -67,6 +67,8 @@ ControllerView::MessageReceived(BMessage *msg) switch (msg->what) { case MSG_PLAYLIST_REF_ADDED: case MSG_PLAYLIST_REF_REMOVED: + case MSG_PLAYLIST_REFS_SORTED: + case MSG_PLAYLIST_CURRENT_REF_CHANGED: CheckSkippable(); break;