mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 02:45:36 +01:00
Fix preferences file path in preferences window
This commit is contained in:
@@ -151,6 +151,10 @@ public class Preferences {
|
||||
}
|
||||
}
|
||||
|
||||
static public File getPreferencesFile() {
|
||||
return preferencesFile;
|
||||
}
|
||||
|
||||
|
||||
// .................................................................
|
||||
|
||||
@@ -382,4 +386,4 @@ public class Preferences {
|
||||
static protected void setSketchbookPath(String path) {
|
||||
set("sketchbook.path.three", path); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -526,7 +526,7 @@ public class PreferencesFrame {
|
||||
right = Math.max(right, left + d.width);
|
||||
top += d.height; // + GUI_SMALL;
|
||||
|
||||
label = new JLabel(Preferences.getSketchbookPath());
|
||||
label = new JLabel(Preferences.getPreferencesFile().getAbsolutePath());
|
||||
final JLabel clickable = label;
|
||||
label.addMouseListener(new MouseAdapter() {
|
||||
public void mousePressed(MouseEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user