Bug 475907

Summary: Pressing enter a second time when doing a calculation clears the screen.
Product: [Applications] Kalk Reporter: Justin Zobel <justin.zobel>
Component: GeneralAssignee: hanyoung
Status: RESOLVED FIXED    
Severity: normal CC: espidev
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Justin Zobel 2023-10-21 05:05:47 UTC
SUMMARY
Pressing equals a second time when doing a calculation clears the screen.

STEPS TO REPRODUCE
1. Do a calculation
2. Press = twice
3. The calculation is cleared

OBSERVED RESULT
The calculations are cleared

EXPECTED RESULT
The calculations aren't cleared

Kalk 23.08.1 on postmarketOS (Frameworks 5.110.0)
Comment 1 hanyoung 2023-10-21 06:22:46 UTC
Git commit 662aa91d58160fca8538f01d7a35253d351214c4 by Han Young.
Committed on 21/10/2023 at 08:22.
Pushed by hanyoung into branch 'master'.

don't clear the input if user press equal twice

M  +4    -0    src/inputmanager.cpp

https://invent.kde.org/utilities/kalk/-/commit/662aa91d58160fca8538f01d7a35253d351214c4