Merge pull request #3291 from SomberNight/ledger_old_fw_exception1

fix: ledger old fw segwit crash
This commit is contained in:
ThomasV 2017-11-13 18:11:14 +01:00 committed by GitHub
commit e9191caf39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class MessageBoxMixin(object):
def msg_box(self, icon, parent, title, text, buttons=QMessageBox.Ok,
defaultButton=QMessageBox.NoButton):
parent = parent or self.top_level_window()
d = QMessageBox(icon, title, text, buttons, parent)
d = QMessageBox(icon, title, str(text), buttons, parent)
d.setWindowModality(Qt.WindowModal)
d.setDefaultButton(defaultButton)
return d.exec_()