Skip to content

Commit

Permalink
Geschlecht "Ohne Angabe" als default (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenilsas authored Oct 1, 2024
1 parent 4c5cb5d commit 64e5dba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/de/jost_net/JVerein/gui/control/MitgliedControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@ public GeschlechtInput getGeschlecht() throws RemoteException
{
return geschlecht;
}
geschlecht = new GeschlechtInput(getMitglied().getGeschlecht());
String g = getMitglied().getGeschlecht();
geschlecht = new GeschlechtInput(g==null?"o":getMitglied().getGeschlecht());
geschlecht.setName("Geschlecht");
geschlecht.setPleaseChoose("Bitte auswählen");
geschlecht.setMandatory(true);
Expand Down

0 comments on commit 64e5dba

Please sign in to comment.