Skip to content
This repository
Browse code

Fixed: CAddon::HasSettings() was broken after a call to CAddon::SaveS…

…ettings() on creation of user settings
  • Loading branch information...
commit 0fb38d80aabd1112b377760c509855bf529fb95f 1 parent 8f695a6
Garrett Brown authored March 24, 2013

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  xbmc/addons/Addon.cpp
1  xbmc/addons/Addon.cpp
@@ -512,6 +512,7 @@ void CAddon::SaveSettings(void)
512 512
   CXBMCTinyXML doc;
513 513
   SettingsToXML(doc);
514 514
   doc.SaveFile(m_userSettingsPath);
  515
+  m_userSettingsLoaded = true;
515 516
   
516 517
   CAddonMgr::Get().ReloadSettings(ID());//push the settings changes to the running addon instance
517 518
   g_pythonParser.OnSettingsChanged(ID());

0 notes on commit 0fb38d8

Please sign in to comment.
Something went wrong with that request. Please try again.