diff --git a/src/main/java/featurecat/lizzie/gui/ConfigDialog.java b/src/main/java/featurecat/lizzie/gui/ConfigDialog.java index 8f53bed17..281e510a6 100644 --- a/src/main/java/featurecat/lizzie/gui/ConfigDialog.java +++ b/src/main/java/featurecat/lizzie/gui/ConfigDialog.java @@ -1829,9 +1829,8 @@ private String getEngineLine() { new FileNameExtensionFilter( resourceBundle.getString("LizzieConfig.title.engine"), "exe", "bat", "sh"); chooser.setFileFilter(filter); - } else { - //setVisible(false); } + chooser.setMultiSelectionEnabled(false); chooser.setDialogTitle(resourceBundle.getString("LizzieConfig.prompt.selectEngine")); int result = chooser.showOpenDialog(this); @@ -1931,9 +1930,7 @@ private void applyChange() { Lizzie.initializeEngineManager(); } try { - //if (Lizzie.engineManager != null) { - Lizzie.engineManager.refresh(); - //} + Lizzie.engineManager.refresh(); } catch (JSONException e) { e.printStackTrace(); } catch (IOException e) {