|
@ -1287,7 +1287,7 @@ class ElectrumWindow(QMainWindow): |
|
|
def mkfunc(f, method): |
|
|
def mkfunc(f, method): |
|
|
return lambda *args: apply( f, (method, args, self.password_dialog )) |
|
|
return lambda *args: apply( f, (method, args, self.password_dialog )) |
|
|
for m in dir(c): |
|
|
for m in dir(c): |
|
|
if m[0]=='_' or m=='wallet' or m == 'interface': continue |
|
|
if m[0]=='_' or m in ['network','wallet']: continue |
|
|
methods[m] = mkfunc(c._run, m) |
|
|
methods[m] = mkfunc(c._run, m) |
|
|
|
|
|
|
|
|
console.updateNamespace(methods) |
|
|
console.updateNamespace(methods) |
|
|