From 25a9e5ea450628ac5141c804afceb413f35acbc8 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Wed, 31 Jan 2018 20:12:04 +0200 Subject: [PATCH] Fixed errors I introduced in commit 4115540 after rebase --- src/bitmessageqt/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 8e836fe1..3422664b 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -1904,7 +1904,7 @@ class MyForm(settingsmixin.SMainWindow): " BM- Please check the recipient address %1" ).arg(toAddress)) elif status == 'checksumfailed': - self.statusbar_message(_translate( + self.updateStatusBar(_translate( "MainWindow", "Error: The recipient address %1 is not" " typed or copied correctly. Please check it." @@ -2095,7 +2095,8 @@ class MyForm(settingsmixin.SMainWindow): identities = str(self.ui.lineEditTo.text().toUtf8()).split(";") err, addr = nc.query(identities[-1].strip()) if err is not None: - self.statusbar_message("Error: %1", args=[err]) + self.updateStatusBar( + _translate("MainWindow", "Error: %1").arg(err)) else: identities[-1] = addr self.ui.lineEditTo.setText("; ".join(identities))