Fix another check for empty directories, preventing the user from doing
anything.
This commit is contained in:
parent
d3c6354450
commit
5a47dc01d7
Binary file not shown.
@ -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…
x
Reference in New Issue
Block a user