From 2ef8cbe6cf5f643e26415845f4b675e376d7b6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Musab=20K=C4=B1l=C4=B1=C3=A7?= Date: Fri, 29 Oct 2021 20:08:58 +0300 Subject: [PATCH] Calculator: Fix copy button not copying the fractional part bug :^) --- Userland/Applications/Calculator/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/Calculator/main.cpp b/Userland/Applications/Calculator/main.cpp index ae9e56fc8f..83f29d7831 100644 --- a/Userland/Applications/Calculator/main.cpp +++ b/Userland/Applications/Calculator/main.cpp @@ -62,7 +62,7 @@ int main(int argc, char** argv) if (clipboard.mime_type == "text/plain") { if (!clipboard.data.is_empty()) { auto data = atof(StringView(clipboard.data).to_string().characters()); - widget.set_entry(data); + widget.set_entry(KeypadValue { data }); } } }));