From d58fd1b926f237078c360cd5989221d6f56bfe8d Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 25 Jul 2014 21:17:15 +0200 Subject: [PATCH] Minor GUI fix. --- alethzero/MainWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alethzero/MainWin.cpp b/alethzero/MainWin.cpp index 1e0eb3c74..471d37411 100644 --- a/alethzero/MainWin.cpp +++ b/alethzero/MainWin.cpp @@ -391,7 +391,7 @@ void Main::eval(QString const& _js) if (_js.trimmed().isEmpty()) return; QVariant ev = ui->webView->page()->currentFrame()->evaluateJavaScript("___RET=(" + _js + ")"); - QVariant jsonEv = ui->webView->page()->currentFrame()->evaluateJavaScript("JSON.stringify(__RET)"); + QVariant jsonEv = ui->webView->page()->currentFrame()->evaluateJavaScript("JSON.stringify(___RET)"); QString s; if (ev.isNull()) s = "null";