mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge pull request #3922 from JakubValtar/welcome-picker
Fix welcome directory picker
This commit is contained in:
@@ -6408,7 +6408,7 @@ public class PApplet implements PConstants {
|
||||
fileChooser.setDialogTitle(prompt);
|
||||
fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
|
||||
if (defaultSelection != null) {
|
||||
fileChooser.setSelectedFile(defaultSelection);
|
||||
fileChooser.setCurrentDirectory(defaultSelection);
|
||||
}
|
||||
|
||||
int result = fileChooser.showOpenDialog(parentFrame);
|
||||
|
||||
Reference in New Issue
Block a user