aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-11-02 07:52:38 +0100
committerJaquee <jaquee.monero@gmail.com>2017-11-03 16:57:12 +0100
commita72a76d3e65609ecf7c740c1a6bbd36b86006721 (patch)
tree2e2cbe1b3791aaa4a7bbbcbe032e989170028383
parent394b20ee3624e7cd7a60307d24da1c66b5249a5f (diff)
downloadmonzero-gui-a72a76d3e65609ecf7c740c1a6bbd36b86006721.tar.gz
monzero-gui-a72a76d3e65609ecf7c740c1a6bbd36b86006721.tar.xz
monzero-gui-a72a76d3e65609ecf7c740c1a6bbd36b86006721.zip
IOS open from file workaround
-rw-r--r--main.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.qml b/main.qml
index 5c430e5f..809c0311 100644
--- a/main.qml
+++ b/main.qml
@@ -1017,9 +1017,17 @@ ApplicationWindow {
title: "Please choose a file"
folder: "file://" +moneroAccountsDir
nameFilters: [ "Wallet files (*.keys)"]
+ sidebarVisible: false
+
onAccepted: {
persistentSettings.wallet_path = walletManager.urlToLocalPath(fileDialog.fileUrl)
+ if(isIOS)
+ persistentSettings.wallet_path = persistentSettings.wallet_path.replace(moneroAccountsDir,"")
+ console.log("ÖPPPPNA")
+ console.log(moneroAccountsDir)
+ console.log(fileDialog.fileUrl)
+ console.log(persistentSettings.wallet_path)
initialize();
}
onRejected: {