We're updating the issue view to help you get more done. 

Portrait selection dialog does not appear

Description

When the directory that has previously been used to access an image file, does not exist anymore, the selection dialog does not show up.

{{Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: Folder parameter must be a valid folder
at javafx.graphics/com.sun.glass.ui.CommonDialogs.convertFolder(CommonDialogs.java:239)
at javafx.graphics/com.sun.glass.ui.CommonDialogs.showFileChooser(CommonDialogs.java:191)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.showFileChooser(QuantumToolkit.java:1579)
at javafx.graphics/javafx.stage.FileChooser.showDialog(FileChooser.java:413)
at javafx.graphics/javafx.stage.FileChooser.showOpenDialog(FileChooser.java:348)
at org.prelle.shadowrun6.chargen.jfx.sections.PortraitSection.openImage(PortraitSection.java:120)
at org.prelle.shadowrun6.chargen.jfx.sections.PortraitSection.lambda$0(PortraitSection.java:93)}}

Environment

None

Assignee

Stefan Prelle

Reporter

Stefan Prelle

Labels

None

Fix versions

Affects versions

Priority

Medium
Configure