Browse Source

rename 'gui' console variable to 'window'

283
ThomasV 9 years ago
parent
commit
f3b0d83782
  1. 2
      gui/qt/main_window.py

2
gui/qt/main_window.py

@ -1754,7 +1754,7 @@ class ElectrumWindow(QMainWindow, PrintError):
console.updateNamespace({'wallet' : self.wallet,
'network' : self.network,
'plugins' : self.gui_object.plugins,
'gui': self})
'window': self})
console.updateNamespace({'util' : util, 'bitcoin':bitcoin})
c = commands.Commands(self.config, self.wallet, self.network, lambda: self.console.set_json(True))

Loading…
Cancel
Save