Skip to content
Snippets Groups Projects
Commit 2497026f authored by Kitty Barnett's avatar Kitty Barnett
Browse files

[FIXED] Unsaved values live at index 2

--HG--
branch : RLVa
parent 5267e65d
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ class LLControlVariable : public LLRefCount ...@@ -135,7 +135,7 @@ class LLControlVariable : public LLRefCount
validate_signal_t* getValidateSignal() { return &mValidateSignal; } validate_signal_t* getValidateSignal() { return &mValidateSignal; }
// [RLVa:KB] - Patch: RLVa-2.1.0 // [RLVa:KB] - Patch: RLVa-2.1.0
bool hasUnsavedValue() { return mValues.size() >= 2; } bool hasUnsavedValue() { return mValues.size() > 2; }
// [/RLVa:KB] // [/RLVa:KB]
bool isDefault() { return (mValues.size() == 1); } bool isDefault() { return (mValues.size() == 1); }
bool shouldSave(bool nondefault_only); bool shouldSave(bool nondefault_only);
......
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