Skip to content

Commit

Permalink
Fix variable lookup when saving recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
felixb1515 committed May 22, 2024
1 parent 68a768f commit ccdd76d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/de/usd/cstchef/view/ui/FormatTextField.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public void setDefault(String option) {

public Map<String, String> getValues() {
Map<String, String> values = new HashMap<>();
values.put("text", this.txtField.getText());
//values.put("text", this.txtField.getText());
values.put("text", this.txtField.getRawText());
values.put("encoding", this.formatBox.getSelectedItem().toString());
return values;
}
Expand Down

0 comments on commit ccdd76d

Please sign in to comment.