Permalink
Browse files

always update the scraper set after prompting for content settings, a…

…s the path may have changed. Fixes #12693
  • Loading branch information...
1 parent 9cc50fe commit bf709960a7e8725bd7a72095a7c3cdf916cffbd1 Jonathan Marshall committed Feb 27, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 xbmc/video/windows/GUIWindowVideoBase.cpp
@@ -2010,14 +2010,14 @@ void CGUIWindowVideoBase::OnAssignContent(const CStdString &path)
if (OnUnAssignContent(path,20442,20443,20444))
bScan = true;
}
-
- db.SetScraperForPath(path,info,settings);
-
- if (bScan)
- {
- CGUIDialogVideoScan* pDialog = (CGUIDialogVideoScan*)g_windowManager.GetWindow(WINDOW_DIALOG_VIDEO_SCAN);
- if (pDialog)
- pDialog->StartScanning(path, true);
- }
+ }
+
+ db.SetScraperForPath(path,info,settings);
+
+ if (bScan)
+ {
+ CGUIDialogVideoScan* pDialog = (CGUIDialogVideoScan*)g_windowManager.GetWindow(WINDOW_DIALOG_VIDEO_SCAN);
+ if (pDialog)
+ pDialog->StartScanning(path, true);
}
}

0 comments on commit bf70996

Please sign in to comment.