correctly hide the "no slash allowed in file names" message
authorfstamatelopoulos <devnull@localhost>
Mon, 4 Apr 2011 11:58:03 +0000 (14:58 +0300)
committerfstamatelopoulos <devnull@localhost>
Mon, 4 Apr 2011 11:58:03 +0000 (14:58 +0300)
src/gr/ebs/gss/client/FilePropertiesDialog.java

index b2ac684..ed83863 100644 (file)
@@ -211,7 +211,7 @@ public class FilePropertiesDialog extends AbstractPropertiesDialog {
                                if(name.getText().contains("/"))\r
                                        fileNameNote.setVisible(true);\r
                                else{\r
-                                       fileNameNote.setVisible(true);\r
+                                       fileNameNote.setVisible(false);\r
                                        accept();\r
                                        closeDialog();\r
                                }               \r