working directory changes.
This commit is contained in:
parent
313c9d24b9
commit
2aa4a8d905
@ -333,7 +333,7 @@ public class ComponentPresetEditor extends JPanel implements PresetResultListene
|
||||
chooser.setCurrentDirectory(editContext.getLastDirectory());
|
||||
}
|
||||
else {
|
||||
chooser.setCurrentDirectory(((SwingPreferences) Application.getPreferences()).getDefaultDirectory());
|
||||
chooser.setCurrentDirectory(((SwingPreferences) Application.getPreferences()).getDefaultUserComponentDirectory());
|
||||
}
|
||||
|
||||
int option = chooser.showOpenDialog(ComponentPresetEditor.this);
|
||||
@ -414,7 +414,7 @@ public class ComponentPresetEditor extends JPanel implements PresetResultListene
|
||||
chooser.setSelectedFile(editContext.getOpenedFile());
|
||||
}
|
||||
else {
|
||||
chooser.setCurrentDirectory(((SwingPreferences) Application.getPreferences()).getDefaultDirectory());
|
||||
chooser.setCurrentDirectory(((SwingPreferences) Application.getPreferences()).getDefaultUserComponentDirectory());
|
||||
}
|
||||
|
||||
int option = chooser.showSaveDialog(ComponentPresetEditor.this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user