diff --git a/src/apps/haikudepot/ui/MainWindow.cpp b/src/apps/haikudepot/ui/MainWindow.cpp index bc8d021bdf..a06ca7f047 100644 --- a/src/apps/haikudepot/ui/MainWindow.cpp +++ b/src/apps/haikudepot/ui/MainWindow.cpp @@ -509,6 +509,9 @@ MainWindow::MessageReceived(BMessage* message) fFeaturedPackagesView->AddPackage(ref); } } + + if (!fSinglePackageMode && (changes & PKG_CHANGED_STATE) != 0) + fWorkStatusView->PackageStatusChanged(ref); } break; } diff --git a/src/apps/haikudepot/ui/PackageListView.cpp b/src/apps/haikudepot/ui/PackageListView.cpp index 6de9218ba6..bcdbf7e101 100644 --- a/src/apps/haikudepot/ui/PackageListView.cpp +++ b/src/apps/haikudepot/ui/PackageListView.cpp @@ -843,13 +843,8 @@ PackageListView::MessageReceived(BMessage* message) row->UpdateSummary(); if ((changes & PKG_CHANGED_RATINGS) != 0) row->UpdateRating(); - if ((changes & PKG_CHANGED_STATE) != 0) { + if ((changes & PKG_CHANGED_STATE) != 0) row->UpdateState(); - if (fWorkStatusView != NULL) { - fWorkStatusView->PackageStatusChanged( - row->Package()); - } - } if ((changes & PKG_CHANGED_SIZE) != 0) row->UpdateSize(); if ((changes & PKG_CHANGED_ICON) != 0)