Skip to content

Commit

Permalink
Doppelklick auf Dokument zeigt das Dokument an (#124)
Browse files Browse the repository at this point in the history
Co-authored-by: dippeal <info@dippe-it.de>
  • Loading branch information
dippeal and dippeal authored Jan 24, 2024
1 parent eaf6695 commit 00337d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/de/jost_net/JVerein/gui/control/DokumentControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

import de.jost_net.JVerein.Einstellungen;
import de.jost_net.JVerein.Messaging.DokumentMessage;
import de.jost_net.JVerein.gui.action.DokumentShowAction;
import de.jost_net.JVerein.gui.menu.DokumentMenu;
import de.jost_net.JVerein.gui.parts.DokumentPart;
import de.jost_net.JVerein.gui.view.DokumentView;
Expand Down Expand Up @@ -200,7 +201,7 @@ public Part getDokumenteList(AbstractDokument doc) throws RemoteException
docs.addFilter("referenz = ?", new Object[] { doc.getReferenz() });
docs.setOrder("ORDER BY datum desc");

docsList = new TablePart(docs, null /* new KontoAction() */);
docsList = new TablePart(docs, new DokumentShowAction());
docsList.addColumn("Datum", "datum",
new DateFormatter(new JVDateFormatTTMMJJJJ()));
docsList.addColumn("Bemerkung", "bemerkung");
Expand Down

0 comments on commit 00337d3

Please sign in to comment.