diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-18 17:15:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-18 17:15:16 +0300 |
commit | 39276c4fc0e94f89a53e6c2cb05fd46edea3cc13 (patch) | |
tree | ccda89d865de05b81b4bf592a158137372987dc4 /src/gui/windows | |
parent | d520f971a0af6f0b3f0c2a3612e6c66428ba156f (diff) | |
download | manaverse-39276c4fc0e94f89a53e6c2cb05fd46edea3cc13.tar.gz manaverse-39276c4fc0e94f89a53e6c2cb05fd46edea3cc13.tar.bz2 manaverse-39276c4fc0e94f89a53e6c2cb05fd46edea3cc13.tar.xz manaverse-39276c4fc0e94f89a53e6c2cb05fd46edea3cc13.zip |
Enable browserbox variables in npcdialog and updaterwindow.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 1 | ||||
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
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); |