From 043d5d5c270330bf0b50f2697e7d2a18a78ee526 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Thu, 11 Jan 2024 18:24:46 +0000 Subject: [PATCH] Calculator: Make calculator display non-interactive Previously, it was possible for the user to input text into the calculator display. With this change, the calculator display is made read-only. --- Userland/Applications/Calculator/CalculatorWindow.gml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Applications/Calculator/CalculatorWindow.gml b/Userland/Applications/Calculator/CalculatorWindow.gml index 82c1bd4588..b4ff1c3711 100644 --- a/Userland/Applications/Calculator/CalculatorWindow.gml +++ b/Userland/Applications/Calculator/CalculatorWindow.gml @@ -19,6 +19,8 @@ @GUI::TextBox { name: "entry_textbox" font_type: "FixedWidth" + mode: "DisplayOnly" + focus_policy: "NoFocus" } @GUI::Widget {