From 9b578956b8cdcba74b731a78ffdf7e26b335a03d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Jul 2013 14:33:38 +0300 Subject: Dehardcode keys in help and in tips. --- src/gui/widgets/browserbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 6527019de..50072c5d2 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -171,7 +171,7 @@ void BrowserBox::addRow(const std::string &row, const bool atTop) break; const std::string str = inputManager.getKeyValueByName( - "key" + tmp.substr(idx1 + 3, idx2 - idx1 - 3)); + tmp.substr(idx1 + 3, idx2 - idx1 - 3)); tmp.replace(idx1, idx2 - idx1 + 1, str); idx1 = tmp.find("###"); -- cgit v1.2.3-70-g09d2