提交 20eafd2a 编写于 作者: D dstmath 提交者: deathmarine

Update Luyten for Procyon

上级 bd8fe239
......@@ -57,8 +57,8 @@ public class ConfigSaver {
*/
private void loadConfig() {
decompilerSettings = new DecompilerSettings();
if (decompilerSettings.getFormattingOptions() == null) {
decompilerSettings.setFormattingOptions(JavaFormattingOptions.createDefault());
if (decompilerSettings.getJavaFormattingOptions() == null) {
decompilerSettings.setJavaFormattingOptions(JavaFormattingOptions.createDefault());
}
luytenPreferences = new LuytenPreferences();
mainWindowPosition = new WindowPosition();
......
......@@ -272,8 +272,8 @@ public class FileSaver {
private DecompilerSettings cloneSettings() {
DecompilerSettings settings = ConfigSaver.getLoadedInstance().getDecompilerSettings();
DecompilerSettings newSettings = new DecompilerSettings();
if (newSettings.getFormattingOptions() == null) {
newSettings.setFormattingOptions(JavaFormattingOptions.createDefault());
if (newSettings.getJavaFormattingOptions() == null) {
newSettings.setJavaFormattingOptions(JavaFormattingOptions.createDefault());
}
// synchronized: against main menu changes
synchronized (settings) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册