summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java
diff options
context:
space:
mode:
authorMichael Wilson2014-08-26 07:48:40 +0200
committerMichael Wilson2014-08-26 07:48:40 +0200
commit2e86d9eecb15febde2fc5b4bc973b62a35c39b07 (patch)
tree834d348f334fb4b3ff11bc5a0a05cb5e1c8f1d7e /Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java
parentMerge branch 'master' of git.openslx.org:openslx-ng/tutor-module (diff)
downloadtutor-module-2e86d9eecb15febde2fc5b4bc973b62a35c39b07.tar.gz
tutor-module-2e86d9eecb15febde2fc5b4bc973b62a35c39b07.tar.xz
tutor-module-2e86d9eecb15febde2fc5b4bc973b62a35c39b07.zip
download prüft jetzt auf label.text == null
Diffstat (limited to 'Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java b/Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java
index ad178085..e75fa8b9 100644
--- a/Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java
+++ b/Dozentenmodul/src/gui/image/FTPSearchDownloader_GUI.java
@@ -205,7 +205,7 @@ public class FTPSearchDownloader_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");