Skip to content

Commit

Permalink
fixed: Uninstall of addon didn't refresh the listing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed Jan 30, 2011
1 parent 01fa5fe commit 553da6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/addons/GUIDialogAddonInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void CGUIDialogAddonInfo::OnUninstall()
CFileItemList list;
list.Add(CFileItemPtr(new CFileItem(m_localAddon->Path(),true)));
list[0]->Select(true);
CJobManager::GetInstance().AddJob(new CFileOperationJob(CFileOperationJob::ActionDelete,list,""),NULL);
CJobManager::GetInstance().AddJob(new CFileOperationJob(CFileOperationJob::ActionDelete,list,""), &CAddonInstaller::Get());
CAddonMgr::Get().RemoveAddon(m_localAddon->ID());
Close();
}
Expand Down

0 comments on commit 553da6d

Please sign in to comment.