(svn r24745) -Codechange: Draw complete editbox via QueryString.

This commit is contained in:
frosch
2012-11-14 22:50:46 +00:00
parent c8c040d057
commit 1b3e8a8af6
2 changed files with 2 additions and 2 deletions

View File

@@ -2366,7 +2366,6 @@ void NWidgetLeaf::Draw(const Window *w)
break;
case WWT_EDITBOX: {
DrawFrameRect(r.left, r.top, r.right, r.bottom, this->colour, FR_LOWERED | FR_DARKENED);
const QueryString *query = w->GetQueryString(this->index);
if (query != NULL) query->DrawEditBox(w, this->index);
break;