Browse Source

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

patch-4
Sander van Grieken 2 years ago
parent
commit
98c747ea6e
  1. 4
      electrum/gui/qml/qedaemon.py

4
electrum/gui/qml/qedaemon.py

@ -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:

Loading…
Cancel
Save