summaryrefslogtreecommitdiff
path: root/indra/llxuixml
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-11-19 07:48:24 -0800
committerRichard Linden <none@none>2011-11-19 07:48:24 -0800
commit0bea8f2a9738502c8bc5482522de3b7ea49f989d (patch)
tree9df51561a32c32e8bd45202a5e251f094a91b0b4 /indra/llxuixml
parent4924306db50bdf0c621d19455c0d07fbf74859f8 (diff)
fix for notification dialog buttons not working
Diffstat (limited to 'indra/llxuixml')
-rw-r--r--indra/llxuixml/llinitparam.h39
1 files changed, 14 insertions, 25 deletions
diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h
index 2edb9b98c7..5ed3337c45 100644
--- a/indra/llxuixml/llinitparam.h
+++ b/indra/llxuixml/llinitparam.h
@@ -583,7 +583,8 @@ namespace LLInitParam
Param& operator =(const Param& other)
{
- setProvided(other.mIsProvided);
+ mIsProvided = other.mIsProvided;
+ // don't change mEnclosingblockoffset
return *this;
}
protected:
@@ -674,13 +675,6 @@ namespace LLInitParam
return *this;
}
- self_t& operator =(const self_t& other)
- {
- mValue = other.mValue;
- NAME_VALUE_LOOKUP::operator =(other);
- return *this;
- }
-
protected:
T mValue;
};
@@ -746,14 +740,6 @@ namespace LLInitParam
return *this;
}
- self_t& operator =(const self_t& other)
- {
- T::operator = (other);
- NAME_VALUE_LOOKUP::operator =(other);
- mValidatedVersion = other.mValidatedVersion;
- mValidated = other.mValidated;
- return *this;
- }
protected:
mutable S32 mValidatedVersion;
mutable bool mValidated; // lazy validation flag
@@ -945,13 +931,15 @@ namespace LLInitParam
return static_cast<self_t&>(param_value_t::operator =(name));
}
- self_t& operator =(value_assignment_t val)
+ protected:
+
+ self_t& operator =(const self_t& other)
{
- set(val);
+ param_value_t::operator =(other);
+ Param::operator =(other);
return *this;
}
- protected:
static bool mergeWith(Param& dst, const Param& src, bool overwrite)
{
const self_t& src_typed_param = static_cast<const self_t&>(src);
@@ -1092,12 +1080,6 @@ namespace LLInitParam
return static_cast<self_t&>(param_value_t::operator =(name));
}
- self_t& operator =(value_assignment_t val)
- {
- set(val);
- return *this;
- }
-
// propagate changed status up to enclosing block
/*virtual*/ void paramChanged(const Param& changed_param, bool user_provided)
{
@@ -1117,6 +1099,13 @@ namespace LLInitParam
protected:
+ self_t& operator =(const self_t& other)
+ {
+ param_value_t::operator =(other);
+ Param::operator =(other);
+ return *this;
+ }
+
static bool mergeWith(Param& dst, const Param& src, bool overwrite)
{
const self_t& src_typed_param = static_cast<const self_t&>(src);