wallet directrory in "Documents" for Windows and in "home" for *nix

This commit is contained in:
Ilya Kitaev
2016-02-08 10:58:01 +03:00
parent 16020ae2a8
commit e555631b40
2 changed files with 19 additions and 2 deletions

View File

@@ -204,10 +204,12 @@ Item {
color: "#6B0072"
verticalAlignment: Text.AlignVCenter
selectByMouse: true
text: "~/.monero/mywallet/"
text: moneroAccountsDir + "/My Wallet"
onFocusChanged: {
if(focus) {
fileDialog.visible = true
fileDialog.folder = text
fileDialog.open()
}
}
}