Merge pull request #3291 from SomberNight/ledger_old_fw_exception1
fix: ledger old fw segwit crash
This commit is contained in:
commit
e9191caf39
|
@ -200,7 +200,7 @@ class MessageBoxMixin(object):
|
||||||
def msg_box(self, icon, parent, title, text, buttons=QMessageBox.Ok,
|
def msg_box(self, icon, parent, title, text, buttons=QMessageBox.Ok,
|
||||||
defaultButton=QMessageBox.NoButton):
|
defaultButton=QMessageBox.NoButton):
|
||||||
parent = parent or self.top_level_window()
|
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.setWindowModality(Qt.WindowModal)
|
||||||
d.setDefaultButton(defaultButton)
|
d.setDefaultButton(defaultButton)
|
||||||
return d.exec_()
|
return d.exec_()
|
||||||
|
|
Loading…
Reference in New Issue