fix previous commit
This commit is contained in:
parent
cbd9c75f81
commit
b26adf95e8
|
@ -95,7 +95,7 @@ public class Waldorf implements ActionListener {
|
|||
frame.dispose();
|
||||
} else
|
||||
if (actionEvent.getSource() == okbtn) {
|
||||
Main.outpath = tOutPath+"/";
|
||||
Main.outpath = tOutPath;
|
||||
Main.checkUpdates = checkUpdatesToggle.isSelected();
|
||||
Main.writeConf();
|
||||
Main.loadConf();
|
||||
|
@ -159,7 +159,7 @@ public class Waldorf implements ActionListener {
|
|||
int result = fileChooser.showOpenDialog(frame);
|
||||
if (result == JFileChooser.APPROVE_OPTION) {
|
||||
if (fileChooser.getSelectedFile().isDirectory()) {
|
||||
tOutPath = fileChooser.getSelectedFile().getAbsolutePath();
|
||||
tOutPath = fileChooser.getSelectedFile().getAbsolutePath()+"/";
|
||||
fOutpath.setText(tOutPath);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -159,7 +159,7 @@ public class WilkinsCoffee implements ActionListener {
|
|||
int result = fileChooser.showOpenDialog(frame);
|
||||
if (result == JFileChooser.APPROVE_OPTION) {
|
||||
if (fileChooser.getSelectedFile().isDirectory()) {
|
||||
outPathTemp = fileChooser.getSelectedFile().getAbsolutePath();
|
||||
outPathTemp = fileChooser.getSelectedFile().getAbsolutePath()+"/";
|
||||
pathDisplay.setText("Export path: " + outPathTemp);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user