open-wallet: set network type when using file browser

Co-authored-by: selsta <selsta@users.noreply.github.com>
This commit is contained in:
plowsof
2022-12-23 08:30:03 +00:00
parent 48393db2c7
commit a01dc06a54
4 changed files with 42 additions and 21 deletions

View File

@@ -52,7 +52,9 @@ public:
Q_INVOKABLE QString temporaryPath() const;
Q_INVOKABLE bool removeTemporaryWallet(const QString &walletName) const;
Q_INVOKABLE bool isCapsLock() const;
Q_INVOKABLE quint8 getNetworkTypeFromFile(const QString &keysPath) const;
static std::pair<quint8, QString> getNetworkTypeAndAddressFromFile(const QString &wallet);
private:
bool installed() const;