mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-14 16:37:26 -04:00
started integrating wallet library
This commit is contained in:
@@ -46,6 +46,12 @@ Item {
|
||||
settingsObject['wallet_path'] = uiItem.walletPath
|
||||
}
|
||||
|
||||
function createWallet(settingsObject) {
|
||||
// print ("Language: " + settingsObject.language);
|
||||
var wallet = walletManager.createWallet(uiItem.accountNameText, "", settingsObject.language);
|
||||
uiItem.wordsTextItem.memoText = wallet.seed
|
||||
}
|
||||
|
||||
WizardManageWalletUI {
|
||||
id: uiItem
|
||||
titleText: qsTr("A new wallet has been created for you")
|
||||
@@ -53,6 +59,5 @@ Item {
|
||||
wordsTextItem.clipboardButtonVisible: true
|
||||
wordsTextItem.tipTextVisible: true
|
||||
wordsTextItem.memoTextReadOnly: true
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,7 +99,9 @@ Rectangle {
|
||||
currentPath = "create_wallet"
|
||||
pages = paths[currentPath]
|
||||
currentPage = pages.indexOf(createWalletPage)
|
||||
createWalletPage.createWallet(settings)
|
||||
handlePageChanged()
|
||||
|
||||
}
|
||||
|
||||
function openRecoveryWalletPage() {
|
||||
|
||||
@@ -25,7 +25,7 @@ Column {
|
||||
TextEdit {
|
||||
id: memoTextInput
|
||||
textMargin: 8
|
||||
text: "bound class paint gasp task soul forgot past pleasure physical circle appear shore bathroom glove women crap busy beauty bliss idea give needle burden"
|
||||
text: ""
|
||||
font.family: "Arial"
|
||||
font.pointSize: 16
|
||||
wrapMode: TextInput.Wrap
|
||||
|
||||
Reference in New Issue
Block a user