<table><tr><td style="">mschiller created this revision.<br />mschiller added reviewers: cfeck, teran, KDE Applications.<br />Herald added a subscriber: kde-utils-devel.<br />mschiller requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15463">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Fixes "wrong" behavior to the correct one as described in the bug report.<br />
Before the fix pressing "10 * / 5 =" normally would result in 20 (Stack: (10,*), (10,/), (5,=)) but with those changes it results in 2 (Stack: (10, /), (5, =)).</p>
<p>Internally this is achieved by "blocking" node adding after a operator (*,-,/,...) has been pressed until a number is entered. If another operator is pressed whilst blocked the top (last) operator is changed instead.</p>
<p>BUG: 57349</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R353 KCalc</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15463">https://phabricator.kde.org/D15463</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcalc.cpp<br />
kcalc_core.cpp<br />
kcalc_core.h</div></div></div><br /><div><strong>To: </strong>mschiller, cfeck, teran, KDE Applications<br /><strong>Cc: </strong>kde-utils-devel<br /></div>