Skip to content

Commit

Permalink
Change behavior when copying parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sxprz committed Jul 13, 2023
1 parent 0c0bed9 commit 4588ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/panel/ParameterView.re
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ let make = (~goblint_path, ~inputValue, ~setInputValue, ~disableRun, ~setDisable
| Some(p) => {
let resolved_parameter = Js.to_string(p);
if (String.length(inputValue) > 0) {
resolved_parameter ++ " "
" " ++ resolved_parameter
} else {
resolved_parameter
}
Expand All @@ -144,7 +144,7 @@ let make = (~goblint_path, ~inputValue, ~setInputValue, ~disableRun, ~setDisable
};

setInputValue(inputVal => {
let new_inputVal = String.cat(parameter, inputVal);
let new_inputVal = String.cat(inputVal, parameter);
new_inputVal
});
}
Expand Down

0 comments on commit 4588ee6

Please sign in to comment.