fix previous commit

This commit is contained in:
Downforce Agent 2024-07-18 22:40:30 -05:00
parent cbd9c75f81
commit b26adf95e8
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}