From 84cc4ba2834fcecec70df4cc5dbc325d87cf63a9 Mon Sep 17 00:00:00 2001 From: Alessandro Date: Sat, 11 Apr 2020 22:28:05 -0700 Subject: [PATCH] Update QueryParamsDialog.vala --- src/Widgets/QueryParamsDialog.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Widgets/QueryParamsDialog.vala b/src/Widgets/QueryParamsDialog.vala index 4f918f05..47138fe8 100644 --- a/src/Widgets/QueryParamsDialog.vala +++ b/src/Widgets/QueryParamsDialog.vala @@ -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);