Skip to content

Commit

Permalink
Fix Adresse erzeugen (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannMaierhofer committed Mar 6, 2024
1 parent 255225f commit 2832589
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/de/jost_net/JVerein/gui/action/AdresseDetailAction.java
Expand Up @@ -23,6 +23,7 @@
import de.jost_net.JVerein.rmi.Mitgliedskonto;
import de.willuhn.jameica.gui.Action;
import de.willuhn.jameica.gui.GUI;
import de.willuhn.jameica.system.OperationCanceledException;
import de.willuhn.util.ApplicationException;

public class AdresseDetailAction implements Action
Expand Down Expand Up @@ -52,13 +53,21 @@ else if (context != null && (context instanceof Mitgliedskonto))
PersonenartDialog.POSITION_CENTER);
String pa = pad.open();
m.setPersonenart(pa);
if (pa == null)
{
return;
}
}
else
{
m.setPersonenart("n");
}
}
}
catch (OperationCanceledException oce)
{
throw oce;
}
catch (Exception e)
{
throw new ApplicationException(
Expand Down

0 comments on commit 2832589

Please sign in to comment.