From 39276c4fc0e94f89a53e6c2cb05fd46edea3cc13 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Dec 2014 17:15:16 +0300 Subject: Enable browserbox variables in npcdialog and updaterwindow. --- src/gui/windows/npcdialog.cpp | 1 + src/gui/windows/updaterwindow.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/gui') diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index e547e9abd..71290ef22 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -148,6 +148,7 @@ NpcDialog::NpcDialog(const int npcId) : mTextBox->setOpaque(false); mTextBox->setMaxRow(config.getIntValue("ChatLogLength")); mTextBox->setLinkHandler(mItemLinkHandler); + mTextBox->setProcessVars(true); mTextBox->setFont(gui->getNpcFont()); mTextBox->setEnableKeys(true); mTextBox->setEnableTabs(true); diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index a12219c7a..5fc5420ee 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -218,6 +218,7 @@ UpdaterWindow::UpdaterWindow(const std::string &restrict updateHost, mProgressBar->setSmoothProgress(false); mBrowserBox->setOpaque(false); mBrowserBox->setLinkHandler(this); + mBrowserBox->setProcessVars(true); mBrowserBox->setEnableKeys(true); mBrowserBox->setEnableTabs(true); mPlayButton->setEnabled(false); -- cgit v1.2.3-70-g09d2