Skip to content

Commit

Permalink
Update QueryParamsDialog.vala
Browse files Browse the repository at this point in the history
  • Loading branch information
Alecaddd authored Apr 12, 2020
1 parent 93c7afb commit 84cc4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/QueryParamsDialog.vala
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public class Sequeler.Widgets.QueryParamsDialog : Gtk.Dialog {
} else if (holder_g_type == Type.FLOAT) {
// TODO: replace this with the following once we upgrade to a newer valac
// parse_result = float.try_parse (text, out parsed_value);
parsed_value = float.parse (text);
parsed_value = double.parse (text);
} else if (holder_g_type == Type.DOUBLE) {
// TODO: replace this with the following once we upgrade to a newer valac
// parse_result = double.try_parse (text, out parsed_value);
Expand Down

0 comments on commit 84cc4ba

Please sign in to comment.