Merge lp:~samertm/ubuntu-calculator-app/fixes-1273887 into lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk
Proposed by
Samer Masterson
Status: | Rejected |
---|---|
Rejected by: | Alan Pope πΊπ§π± π¦ |
Proposed branch: | lp:~samertm/ubuntu-calculator-app/fixes-1273887 |
Merge into: | lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk |
Diff against target: |
68 lines (+7/-5) 3 files modified
Simple/CalcLabel.qml (+1/-1) Simple/Screen.qml (+3/-4) Simple/SimplePage.qml (+3/-0) |
To merge this branch: | bzr merge lp:~samertm/ubuntu-calculator-app/fixes-1273887 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Planella | Needs Information | ||
Riccardo Padovani | Needs Fixing | ||
Mihir Soni | Needs Fixing | ||
Review via email: mp+204602@code.launchpad.net |
Commit message
* Operators do not change screen when it is cleared
Description of the change
* Operators do not change screen when it is cleared
I made this fix by moving the variable newCalculation out of root in Screen.qml and into formulaView in SimplePage.qml. This is because I couldn't figure out how to write a signal handler in Screen.qml that used a signal defined in formulaView. If there's a clearer solution, feel free to reject this merge! :)
To post a comment you must log in.
Unmerged revisions
- 215. By Samer Masterson
-
* Operators do not change screen when it is cleared
Could you go to this line bazaar. launchpad. net/~ubuntu- calculator- dev/ubuntu- calculator- app/trunk/ view/head: /Simple/ SimplePage. qml#L131
http://
and replace this line with following :-
screenFormula = [{_text:'0', _operation: '', _number:''}];
This should work, could you please let me know ?