qml: follow-up fe540200a9
This commit is contained in:
@@ -134,6 +134,10 @@ ElDialog {
|
||||
onNeedsPasswordChanged: {
|
||||
notice.visible = needsPassword
|
||||
}
|
||||
onWalletOpenProblem: {
|
||||
openwalletdialog.close()
|
||||
Daemon.onWalletOpenProblem(error)
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
||||
@@ -142,7 +142,7 @@ class QEDaemon(AuthMixin, QObject):
|
||||
|
||||
self._walletdb = QEWalletDB()
|
||||
self._walletdb.validPasswordChanged.connect(self.passwordValidityCheck)
|
||||
self._walletdb.walletOpenProblem.connect(self.on_wallet_open_problem)
|
||||
self._walletdb.walletOpenProblem.connect(self.onWalletOpenProblem)
|
||||
|
||||
@pyqtSlot()
|
||||
def passwordValidityCheck(self):
|
||||
@@ -150,7 +150,7 @@ class QEDaemon(AuthMixin, QObject):
|
||||
self.walletRequiresPassword.emit(self._name, self._path)
|
||||
|
||||
@pyqtSlot(str)
|
||||
def on_wallet_open_problem(self, error):
|
||||
def onWalletOpenProblem(self, error):
|
||||
self.walletOpenError.emit(error)
|
||||
|
||||
@pyqtSlot()
|
||||
|
||||
Reference in New Issue
Block a user