Skip to content

Commit

Permalink
Removed dead lines
Browse files Browse the repository at this point in the history
  • Loading branch information
toomasr committed Nov 28, 2020
1 parent 2349d76 commit a9bd72a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/java/featurecat/lizzie/gui/ConfigDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a9bd72a

Please sign in to comment.