Skip to content

Commit

Permalink
fix missing progress bar after removing a source from the video library
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed Nov 3, 2012
1 parent 16006e2 commit dcacbfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/video/windows/GUIWindowVideoBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2072,7 +2072,8 @@ bool CGUIWindowVideoBase::OnUnAssignContent(const CStdString &path, int label1,
db.Open();
if (CGUIDialogYesNo::ShowAndGetInput(label1,label2,label3,20022,bCanceled))
{
db.RemoveContentForPath(path);
CGUIDialogProgress *progress = (CGUIDialogProgress *)g_windowManager.GetWindow(WINDOW_DIALOG_PROGRESS);
db.RemoveContentForPath(path, progress);
db.Close();
CUtil::DeleteVideoDatabaseDirectoryCache();
return true;
Expand Down

0 comments on commit dcacbfc

Please sign in to comment.