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

anything.
This commit is contained in:
sigonasr2 2017-09-07 19:07:39 -05:00
parent d3c6354450
commit 5a47dc01d7
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@ -192,11 +192,10 @@ public class SlideshowViewer {
slideshowdirectory.mkdirs(); slideshowdirectory.mkdirs();
slideshowDataFiles = new String[]{}; slideshowDataFiles = new String[]{};
try { 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) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
return;
} }
JFrame f = new JFrame("SlideshowViewer v1.0"); JFrame f = new JFrame("SlideshowViewer v1.0");