From f0b1dededfb987d1b39d0eb0d237a47e6030ddf0 Mon Sep 17 00:00:00 2001 From: ekresse Date: Mon, 11 Jan 2021 20:55:50 +0100 Subject: [PATCH] GUI Fix 4.34 --- src/de/jaujau/gui/Dashboard_GUI.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/de/jaujau/gui/Dashboard_GUI.java b/src/de/jaujau/gui/Dashboard_GUI.java index 59abcc1..1668e9e 100644 --- a/src/de/jaujau/gui/Dashboard_GUI.java +++ b/src/de/jaujau/gui/Dashboard_GUI.java @@ -265,7 +265,7 @@ public class Dashboard_GUI extends JPanel{ getname.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { - getspielername(); + speicherung.setaktuellerSpieler(getspielername()); } }); panel_1.setBackground(new Color(51, 51, 153)); @@ -534,8 +534,6 @@ public class Dashboard_GUI extends JPanel{ } private String getspielername(){ - System.out.println("DASHBOARD_GUI: " + spielername.getEditor().getItem()); - return (String) (spielername.getEditor().getItem()); }