qml: add show seed on WalletDetails.qml
This commit is contained in:
@@ -316,6 +316,13 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
|
||||
def hasSeed(self):
|
||||
return self.wallet.has_seed()
|
||||
|
||||
@pyqtProperty(str, notify=dataChanged)
|
||||
def seed(self):
|
||||
try:
|
||||
return self.wallet.get_seed(self.password)
|
||||
except:
|
||||
return ''
|
||||
|
||||
@pyqtProperty(str, notify=dataChanged)
|
||||
def txinType(self):
|
||||
if self.wallet.wallet_type == 'imported':
|
||||
|
||||
Reference in New Issue
Block a user