Skip to content

Commit

Permalink
Fixed: CAddon::HasSettings() was broken after a call to CAddon::SaveS…
Browse files Browse the repository at this point in the history
…ettings() on creation of user settings
  • Loading branch information
garbear committed Mar 26, 2013
1 parent 8f695a6 commit 0fb38d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/addons/Addon.cpp
Expand Up @@ -512,6 +512,7 @@ void CAddon::SaveSettings(void)
CXBMCTinyXML doc; CXBMCTinyXML doc;
SettingsToXML(doc); SettingsToXML(doc);
doc.SaveFile(m_userSettingsPath); doc.SaveFile(m_userSettingsPath);
m_userSettingsLoaded = true;


CAddonMgr::Get().ReloadSettings(ID());//push the settings changes to the running addon instance CAddonMgr::Get().ReloadSettings(ID());//push the settings changes to the running addon instance
g_pythonParser.OnSettingsChanged(ID()); g_pythonParser.OnSettingsChanged(ID());
Expand Down

0 comments on commit 0fb38d8

Please sign in to comment.