Bug 276331

Summary: Pressing operation button several times computes again
Product: [Applications] kcalc Reporter: Victor Varvaryuk <victor.varvariuc>
Component: generalAssignee: Evan Teran <eteran>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Victor Varvaryuk 2011-06-23 14:52:20 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

If you enter, for example, '5' and then '+', and then again '+' you get 10. 
On regular calculators if you press several times in a row an operation button it doesn't (re)compute the result - if you press '+' and then '-' it uses '-' as the operation directive when you enter next number.

Reproducible: Always

Steps to Reproduce:
Start KCalc. Enter '5'. Press '+' twice.

Actual Results:  
You get '10' on screen

Expected Results:  
'5' should still be on the screen. '+' operation should be executed only when another number was entered after this and '=' pressed or another operation selected.
Comment 1 Evan Teran 2011-06-23 18:37:28 UTC

*** This bug has been marked as a duplicate of bug 57349 ***