summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2010-07-29 13:37:29 +0300
committerPaul Guslisty <pguslisty@productengine.com>2010-07-29 13:37:29 +0300
commit4a53696d72744ab60d067c59b5e1779e85bde50d (patch)
tree5f264cee94b5acb9d4c8d4dabd974904d29ebfc0
parent5fb799b12f7c8b00ae163bf7797d2ac9525733a8 (diff)
EXT-8179 FIXED (Group profile: 'Save' button remains disabled if state of check-boxes was changed during refreshing of 'General' accordion)
Disable accordion while refreshing group properties so the user could not change properties during refresh Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/815/ --HG-- branch : product-engine
-rw-r--r--indra/newview/llpanelgroup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp
index 2fc74e138b..c383d04940 100644
--- a/indra/newview/llpanelgroup.cpp
+++ b/indra/newview/llpanelgroup.cpp
@@ -545,6 +545,7 @@ void LLPanelGroup::draw()
{
mRefreshTimer.stop();
childEnable("btn_refresh");
+ childEnable("groups_accordion");
}
LLButton* button_apply = findChild<LLButton>("btn_apply");
@@ -573,6 +574,8 @@ void LLPanelGroup::refreshData()
// 5 second timeout
childDisable("btn_refresh");
+ childDisable("groups_accordion");
+
mRefreshTimer.start();
mRefreshTimer.setTimerExpirySec(5);
}