1
0

qml: use -w command line parameter to open wallet, if specified

This commit is contained in:
Sander van Grieken
2022-10-04 12:34:24 +02:00
parent 8867387847
commit 98c747ea6e

View File

@@ -143,7 +143,9 @@ class QEDaemon(AuthMixin, QObject):
@pyqtSlot(str, str)
def load_wallet(self, path=None, password=None):
if path == None:
self._path = self.daemon.config.get('gui_last_wallet')
self._path = self.daemon.config.get('wallet_path') # command line -w option
if self._path is None:
self._path = self.daemon.config.get('gui_last_wallet')
else:
self._path = path
if self._path is None: