Skip to content

Commit

Permalink
Update SammelüberweisungAuswahlDialog (#132)
Browse files Browse the repository at this point in the history
Behandle OperationCanceledException  ohne e.printStackTrace.
Ersetze Icon weil es das verwendete Icon nicht gibt.
Übernehmen Button im Dialog eingeführt.

PS: Ich weiß nicht wie man Sammelüberweisungen erzeugt. Konnte den Button darum nicht wirklich testen.
  • Loading branch information
JohannMaierhofer authored Jan 27, 2024
1 parent 35e09e5 commit 5e13e31
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/de/jost_net/JVerein/gui/control/BuchungsControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
import de.willuhn.jameica.messaging.MessageConsumer;
import de.willuhn.jameica.system.Application;
import de.willuhn.jameica.system.BackgroundTask;
import de.willuhn.jameica.system.OperationCanceledException;
import de.willuhn.jameica.system.Settings;
import de.willuhn.logging.Logger;
import de.willuhn.util.ApplicationException;
Expand Down Expand Up @@ -606,13 +607,17 @@ public void handleAction(Object context)
refreshSplitbuchungen();
}
}
catch (OperationCanceledException oce)
{
throw oce;
}
catch (Exception e)
{
e.printStackTrace();
}
}

}, null, false, "stock_navigator-shift-right.png");
}, null, false, "list.png");
return sammelueberweisungButton;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ protected void paint(Composite parent) throws Exception
{
this.getSammelueberweisungen().paint(parent);
ButtonArea b = new ButtonArea();
b.addButton("Übernehmen", new Action()
{

@Override
public void handleAction(Object context)
{
selected = (SepaSammelUeberweisung) sammelueberweisung.getSelection();
close();
}
}, null, true, "ok.png");
b.addButton("Abbrechen", new Action()
{

Expand Down

0 comments on commit 5e13e31

Please sign in to comment.