Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit 1c86a81

Browse files
committed
Fixed ReRadioTogglePage.cs Open selected parameter not correctly setting the selected toggles
1 parent 3f66b68 commit 1c86a81

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

UI/QuickMenu/ReRadioTogglePage.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ public void Open(Object selected = null)
117117
//Update the toggles to display the current active state
118118
foreach (var element in _radioElements)
119119
{
120-
if(element.ToggleData == selected)
121-
element.SetToggle(true);
120+
element.SetToggle(element.ToggleData.Equals(selected));
122121
}
123122
}
124123

0 commit comments

Comments
 (0)