diff --git a/ui/app_list/views/app_list_folder_view.cc b/ui/app_list/views/app_list_folder_view.cc index c7958406b6c0c5..015f72c82137b8 100644 --- a/ui/app_list/views/app_list_folder_view.cc +++ b/ui/app_list/views/app_list_folder_view.cc @@ -141,7 +141,7 @@ void AppListFolderView::OnAppListItemWillBeDeleted(AppListItem* item) { folder_item_ = NULL; // Do not change state if it is hidden. - if (layer()->opacity() == 0.0f) + if (hide_for_reparent_ || layer()->opacity() == 0.0f) return; // If the folder item associated with this view is removed from the model,