Skip to content
Snippets Groups Projects
Commit afd12a6e authored by Jonathan Yap's avatar Jonathan Yap
Browse files

STORM-2082 Send signal to pulldown panel to refresh itself

parent cc22efa4
No related branches found
No related tags found
No related merge requests found
...@@ -150,8 +150,6 @@ void LLPanelPresetsPulldown::onRowClick(const LLSD& user_data) ...@@ -150,8 +150,6 @@ void LLPanelPresetsPulldown::onRowClick(const LLSD& user_data)
instance->refreshEnabledGraphics(); instance->refreshEnabledGraphics();
} }
setVisible(FALSE); setVisible(FALSE);
// This line shouldn't be necessary but it is.
populatePanel();
} }
} }
} }
......
...@@ -242,6 +242,9 @@ void LLPresetsManager::loadPreset(const std::string& subdirectory, const std::st ...@@ -242,6 +242,9 @@ void LLPresetsManager::loadPreset(const std::string& subdirectory, const std::st
std::string full_path(getPresetsDir(subdirectory) + gDirUtilp->getDirDelimiter() + LLURI::escape(name) + ".xml"); std::string full_path(getPresetsDir(subdirectory) + gDirUtilp->getDirDelimiter() + LLURI::escape(name) + ".xml");
gSavedSettings.loadFromFile(full_path, false, true); gSavedSettings.loadFromFile(full_path, false, true);
// signal interested parties
mPresetListChangeSignal();
} }
bool LLPresetsManager::deletePreset(const std::string& subdirectory, const std::string& name) bool LLPresetsManager::deletePreset(const std::string& subdirectory, const std::string& name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment