Merge pull request #1424 from romanz/typo_fix

typo fix: rename pay_from_URI() -> pay_to_URI()
This commit is contained in:
ThomasV 2015-08-25 16:37:49 +02:00
commit 6682135a23
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ class MiniWindow(QDialog):
self.actuator.g.closeEvent(event)
qApp.quit()
def pay_from_URI(self, URI):
def pay_to_URI(self, URI):
try:
out = util.parse_URI(URI)
except:

View File

@ -616,7 +616,7 @@ class Plugin(BasePlugin):
self.window.pluginsdialog.close()
uri = "bitcoin:" + self.billing_info['billing_address'] + "?message=TrustedCoin %d Prepaid Transactions&amount="%k + str(Decimal(v)/100000000)
self.is_billing = True
self.window.pay_from_URI(uri)
self.window.pay_to_URI(uri)
self.window.payto_e.setFrozen(True)
self.window.message_e.setFrozen(True)
self.window.amount_e.setFrozen(True)