diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-12-28 14:48:43 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-12-29 08:59:53 (GMT) |
| commit | 0318640f620d75098ccf535fea30f716ea625515 (patch) | |
| tree | df8b09564443580f6dd84c91c32ff6c2efa4c0a7 /wasp | |
| parent | 21210c5c072ddd174f91bd7c80a1b2a00cb39bf3 (diff) | |
apps: calc: Remember the results between invocations
Currently if you spend more then 15 seconds looking up figures or
transcribing the answer then the system will switch back to the
clock and the answer will be lost.
Fix this by remembering the output between invocations.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp')
| -rw-r--r-- | wasp/apps/calc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/apps/calc.py b/wasp/apps/calc.py index e5ea04d..520ac46 100644 --- a/wasp/apps/calc.py +++ b/wasp/apps/calc.py @@ -53,7 +53,7 @@ class CalculatorApp(): def foreground(self): self._draw() - self.output = "" + self._update() wasp.system.request_event(wasp.EventMask.TOUCH) def touch(self, event): |
