Skip to content

Swap button doesn't swap radio group values #34

@andlehma

Description

@andlehma
<lineEdit id="pName1" x="70" y="70" width="160" height="20" dataSet="players.csv">Player Name 1</lineEdit>
  <radioGroup id="player1Status">
    <radioButton x="240" y="70" width="60" height="20" value="alive">Alive</radioButton>
    <radioButton x="300" y="70" width="60" height="20" value="dead">Dead</radioButton>
  </radioGroup>
  <lineEdit id="pName2" x="70" y="100" width="160" height="20" dataSet="players.csv">Player Name 2</lineEdit>
  <radioGroup id="player2Status">
    <radioButton x="240" y="100" width="60" height="20" value="alive">Alive</radioButton>
    <radioButton x="300" y="100" width="60" height="20" value="dead">Dead</radioButton>
  </radioGroup>
  <button type="swap" x="70" y="30" width="80" height="20" id="swap1" swapSet1="pName1, player1Status" swapSet2="pName2, player2Status">swap</button>

When I press the stop button, the player names swap, but not the radio groups

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions