changed label and added switching back to first entry
This commit is contained in:
parent
037bd6b21e
commit
d100980dfe
@ -1231,6 +1231,9 @@ function playermatRemovalSelected(player, selectedIndex, id)
|
||||
-- info dialog that it is already deleted
|
||||
player.showInfoDialog(matColor .. "'s playermat has already been removed.")
|
||||
end
|
||||
|
||||
-- set selected value back to first option
|
||||
UI.setAttribute(id, "value", 0)
|
||||
end
|
||||
|
||||
-- removes a playermat and all related objects from play
|
||||
|
@ -309,7 +309,7 @@
|
||||
<Panel class="doubleColumn-wrapper">
|
||||
<Dropdown id="removePlayermat"
|
||||
onValueChanged="playermatRemovalSelected(selectedIndex)">
|
||||
<Option>None</Option>
|
||||
<Option>Click to select</Option>
|
||||
<Option>1: White</Option>
|
||||
<Option>2: Orange</Option>
|
||||
<Option>3: Green</Option>
|
||||
|
Loading…
Reference in New Issue
Block a user