Fix another check for empty directories, preventing the user from doing

anything.
master
sigonasr2 8 years ago
parent d3c6354450
commit 5a47dc01d7
  1. BIN
      SlideshowViewer/SlideshowViewer.jar
  2. 3
      SlideshowViewer/src/sig/SlideshowViewer/SlideshowViewer.java

@ -192,11 +192,10 @@ public class SlideshowViewer {
slideshowdirectory.mkdirs();
slideshowDataFiles = new String[]{};
try {
System.out.println("\nPlease insert files into the "+slideshowdirectory.getCanonicalPath()+" directory and restart the program!");
System.out.println("\nPlease insert files into the "+slideshowdirectory.getCanonicalPath()+" directory!");
} catch (IOException e) {
e.printStackTrace();
}
return;
}
JFrame f = new JFrame("SlideshowViewer v1.0");

Loading…
Cancel
Save