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);
|
postProcessing.setTooltip(null);
|
||||||
} else {
|
} else {
|
||||||
String input = postProcessing.getText();
|
String input = postProcessing.getText();
|
||||||
File program = new File(input);
|
if(!input.trim().isEmpty()) {
|
||||||
setPostProcessing(program);
|
File program = new File(input);
|
||||||
|
setPostProcessing(program);
|
||||||
|
} else {
|
||||||
|
Config.getInstance().getSettings().postProcessing = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue