* 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
This commit is contained in:
Stephan Aßmus 2007-06-02 22:53:09 +00:00
parent f56bdbb994
commit b2d0e81723

View File

@ -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;