File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -207,14 +207,14 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp)
207
207
mSettingNameText ->setToolTip (controlp->getName ());
208
208
mComment ->setVisible (true );
209
209
210
- std::string old_text = mComment ->getText ();
211
210
std::string new_text = controlp->getComment ();
212
211
// Don't setText if not nessesary, it will reset scroll
213
212
// This is a debug UI that reads from xml, there might
214
213
// be use cases where comment changes, but not the name
215
- if (old_text != new_text)
214
+ if (mOldText != new_text)
216
215
{
217
216
mComment ->setText (controlp->getComment ());
217
+ mOldText = new_text;
218
218
}
219
219
220
220
mValSpinner1 ->setMaxValue (F32_MAX);
@@ -467,6 +467,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp)
467
467
}
468
468
default :
469
469
mComment ->setText (std::string (" unknown" ));
470
+ mOldText = " unknown" ;
470
471
break ;
471
472
}
472
473
}
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ class LLFloaterSettingsDebug final
82
82
LLColorSwatchCtrl* mColorSwatch = nullptr ;
83
83
84
84
std::string mSearchFilter ;
85
+ std::string mOldText ;
85
86
};
86
87
87
88
#endif // LLFLOATERDEBUGSETTINGS_H
Original file line number Diff line number Diff line change 8
8
width =" 500" >
9
9
<floater .string
10
10
name =" remove_folder_slapp" >
11
- secondlife://app/remove_folder/?folder_id=
11
+ secondlife:/// app/remove_folder/?folder_id=
12
12
</floater .string>
13
13
<text
14
14
type =" string"
42
42
width =" 450"
43
43
layout =" topleft"
44
44
left =" 16" >
45
- secondlife://app/wear_folder/?folder_name=Daisy
45
+ secondlife:/// app/wear_folder/?folder_name=Daisy
46
46
</text >
47
47
<text
48
48
type =" string"
63
63
width =" 450"
64
64
layout =" topleft"
65
65
left =" 16" >
66
- secondlife://app/add_folder/?folder_name=Cardboard%20Boxbot
66
+ secondlife:/// app/add_folder/?folder_name=Cardboard%20Boxbot
67
67
</text >
68
68
<text
69
69
type =" string"
73
73
height =" 16"
74
74
width =" 450"
75
75
layout =" topleft" >
76
- secondlife://app/add_folder/?folder_id=59219db2-c260-87d3-213d-bb3bc298a3d8
76
+ secondlife:/// app/add_folder/?folder_id=59219db2-c260-87d3-213d-bb3bc298a3d8
77
77
</text >
78
78
<text
79
79
type =" string"
118
118
name =" remove_folder_txt"
119
119
layout =" topleft"
120
120
left =" 16" >
121
- secondlife://app/remove_folder/?folder_id=
121
+ secondlife:/// app/remove_folder/?folder_id=
122
122
</text >
123
123
</floater >
You can’t perform that action at this time.
0 commit comments