Unfortunately the original bug remains. The keypad entry still contains the value after an USSD command is invoked. (it returns before keypadEntry.value is cleared)
Apart from that, there is one place where you forgot to replace "number" by keypadEntry.value.
To make the diff smaller you could define var number = keypadEntry.value in the beginning of call().
As a suggestion, how about return true or false in the call() function (indicating if the number was actually called) and in DialerPage.qml simply clear the entry if the call method returned true?
Thanks for the patch.
Unfortunately the original bug remains. The keypad entry still contains the value after an USSD command is invoked. (it returns before keypadEntry.value is cleared)
Apart from that, there is one place where you forgot to replace "number" by keypadEntry.value.
To make the diff smaller you could define var number = keypadEntry.value in the beginning of call().
As a suggestion, how about return true or false in the call() function (indicating if the number was actually called) and in DialerPage.qml simply clear the entry if the call method returned true?