diff --git a/alethzero/MainWin.cpp b/alethzero/MainWin.cpp index dd3d5bbd3..393e47879 100644 --- a/alethzero/MainWin.cpp +++ b/alethzero/MainWin.cpp @@ -232,6 +232,10 @@ Main::Main(QWidget *parent) : { ui->tabWidget->setTabText(0, ui->webView->title()); }); + connect(ui->webView, &QWebEngineView::urlChanged, [=](QUrl const& _url) + { + ui->urlEdit->setText(_url.toString()); + }); m_dappHost.reset(new DappHost(8081)); m_dappLoader = new DappLoader(this, web3(), getNameReg());