From 2e86d9eecb15febde2fc5b4bc973b62a35c39b07 Mon Sep 17 00:00:00 2001 From: Michael Wilson Date: Tue, 26 Aug 2014 07:48:40 +0200 Subject: download prüft jetzt auf label.text == null --- Dozentenmodul/src/gui/image/FTPEditDownloader_GUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dozentenmodul/src/gui/image/FTPEditDownloader_GUI.java') diff --git a/Dozentenmodul/src/gui/image/FTPEditDownloader_GUI.java b/Dozentenmodul/src/gui/image/FTPEditDownloader_GUI.java index aae76861..18df360e 100644 --- a/Dozentenmodul/src/gui/image/FTPEditDownloader_GUI.java +++ b/Dozentenmodul/src/gui/image/FTPEditDownloader_GUI.java @@ -207,7 +207,7 @@ public class FTPEditDownloader_GUI extends JFrame implements } lblPath.addPropertyChangeListener(new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent arg0) { - if (lblPath.getText().isEmpty()) { + if (lblPath.getText() == null) { // wenn leer, dann upload button nicht freigeben btnDownloadStarten.setEnabled(false); btnDownloadStarten.setText("Bitte warten"); -- cgit v1.2.3-55-g7522