Calculator: Fix copy button not copying the fractional part bug :^)
This commit is contained in:
parent
8936d15efa
commit
2ef8cbe6cf
Notes:
sideshowbarker
2024-07-18 01:42:50 +09:00
Author: https://github.com/musabkilic Commit: https://github.com/SerenityOS/serenity/commit/2ef8cbe6cf5 Pull-request: https://github.com/SerenityOS/serenity/pull/10689
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue