Fix: Make it possible to remove post-processing script
This commit is contained in:
parent
ef3c5640e1
commit
9bf8a4f2d4
|
@ -437,8 +437,12 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
postProcessing.setTooltip(null);
|
||||
} else {
|
||||
String input = postProcessing.getText();
|
||||
File program = new File(input);
|
||||
setPostProcessing(program);
|
||||
if(!input.trim().isEmpty()) {
|
||||
File program = new File(input);
|
||||
setPostProcessing(program);
|
||||
} else {
|
||||
Config.getInstance().getSettings().postProcessing = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue