Skip to content
Snippets Groups Projects
Commit c3fe256e authored by callum's avatar callum
Browse files

SOCIAL-437 FIX Viewer crashes opening My Profile panel

parent 4d08333d
No related branches found
No related tags found
No related merge requests found
...@@ -76,17 +76,19 @@ void LLPanelMe::onOpen(const LLSD& key) ...@@ -76,17 +76,19 @@ void LLPanelMe::onOpen(const LLSD& key)
{ {
LLPanelProfile::onOpen(key); LLPanelProfile::onOpen(key);
// Force Edit My Profile if this is the first time when user is opening Me Panel (EXT-5068) // Removed this action as per SOCIAL-431 The first time a new resident opens the profile tab
bool opened = gSavedSettings.getBOOL("MePanelOpened"); // in the sidebar, they see the old profile editing panel
// In some cases Side Tray my call onOpen() twice, check getCollapsed() to be sure this //
// is the last time onOpen() is called //// Force Edit My Profile if this is the first time when user is opening Me Panel (EXT-5068)
if( !opened && !LLSideTray::getInstance()->getCollapsed() ) //bool opened = gSavedSettings.getBOOL("MePanelOpened");
{ //// In some cases Side Tray my call onOpen() twice, check getCollapsed() to be sure this
buildEditPanel(); //// is the last time onOpen() is called
openPanel(mEditPanel, getAvatarId()); //if( !opened && !LLSideTray::getInstance()->getCollapsed() )
//{
gSavedSettings.setBOOL("MePanelOpened", true); // buildEditPanel();
} // openPanel(mEditPanel, getAvatarId());
// gSavedSettings.setBOOL("MePanelOpened", true);
//}
} }
bool LLPanelMe::notifyChildren(const LLSD& info) bool LLPanelMe::notifyChildren(const LLSD& info)
......
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