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