Skip to content

Commit

Permalink
Fix statusbar chan creation message:
Browse files Browse the repository at this point in the history
  non-ASCII characters displayed incorrectly
  • Loading branch information
g1itch committed Oct 3, 2017
1 parent 6548999 commit 1abdc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitmessageqt/newchandialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def accept(self):
addressGeneratorQueue.put(('joinChan', addBMIfNotPresent(self.chanAddress.text().toUtf8()), str_chan + ' ' + str(self.chanPassPhrase.text().toUtf8()), self.chanPassPhrase.text().toUtf8(), True))
addressGeneratorReturnValue = apiAddressGeneratorReturnQueue.get(True)
if len(addressGeneratorReturnValue) > 0 and addressGeneratorReturnValue[0] != 'chan name does not match address':
UISignalQueue.put(('updateStatusBar', _translate("newchandialog", "Successfully created / joined chan %1").arg(str(self.chanPassPhrase.text().toUtf8()))))
UISignalQueue.put(('updateStatusBar', _translate("newchandialog", "Successfully created / joined chan %1").arg(unicode(self.chanPassPhrase.text()))))
self.parent.ui.tabWidget.setCurrentIndex(3)
self.done(QtGui.QDialog.Accepted)
else:
Expand Down

0 comments on commit 1abdc14

Please sign in to comment.