diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-06-24 06:22:00 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-06-24 06:22:00 -0700 |
commit | 89ff83d2e7aa6f5af27c3e235b467e5fcd2937a4 (patch) | |
tree | f9ff83c4e4654876fe75459b6c92be54b134fe0a /indra/newview/llsidepanelappearance.cpp | |
parent | 70cf100f747dd3511c5e1dda668ddb97487b98ab (diff) | |
parent | f0318bf68ef01fcf011da97073b75c3ddc29414d (diff) |
Merged from viewer-release
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r-- | indra/newview/llsidepanelappearance.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp index 0d1be91125..ea5796d766 100644 --- a/indra/newview/llsidepanelappearance.cpp +++ b/indra/newview/llsidepanelappearance.cpp @@ -390,8 +390,8 @@ void LLSidepanelAppearance::refreshCurrentOutfitName(const std::string& name) return; } - std::string look_name = gAgentWearables.isCOFChangeInProgress() ? "" : getString("No Outfit"); - mCurrentLookName->setText(look_name); + std::string string_name = gAgentWearables.isCOFChangeInProgress() ? "Changing outfits" : "No Outfit"; + mCurrentLookName->setText(getString(string_name)); mOpenOutfitBtn->setEnabled(FALSE); } else @@ -475,6 +475,12 @@ void LLSidepanelAppearance::setWearablesLoading(bool val) { childSetVisible("wearables_loading_indicator", val); childSetVisible("edit_outfit_btn", !val); + + if (!val) + { + // refresh outfit name when COF is already changed. + refreshCurrentOutfitName(); + } } void LLSidepanelAppearance::showDefaultSubpart() |