Move hideErrorTypes & showError() to PythonBridge
This commit is contained in:
@@ -61,7 +61,7 @@ HBox {
|
||||
type.startsWith("Matrix") ?
|
||||
text = qsTr("Error contacting server: %1").arg(type) :
|
||||
|
||||
utils.showError(type, traceback, uuid)
|
||||
py.showError(type, traceback, uuid)
|
||||
|
||||
errorMessage.text = text
|
||||
})
|
||||
|
@@ -33,7 +33,7 @@ SignInBase {
|
||||
type === "MatrixUserDeactivated" ?
|
||||
txt = qsTr("This account was deactivated") :
|
||||
|
||||
utils.showError(type, traceback, uuid)
|
||||
py.showError(type, traceback, uuid)
|
||||
|
||||
page.errorMessage.text = txt
|
||||
},
|
||||
|
Reference in New Issue
Block a user