From 17025fa6ea110f0db0b1c2e29b7615b21c2f5a50 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 13 Nov 2012 21:46:19 +0000 Subject: (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. --- src/ai/ai_gui.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ai') diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 785d821a1..e08fac4db 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -1099,8 +1099,6 @@ struct AIDebugWindow : public QueryStringBaseWindow { if (this->IsShaded()) return; // Don't draw anything when the window is shaded. - if (this->show_break_box) this->DrawEditBox(WID_AID_BREAK_STR_EDIT_BOX); - /* Paint the company icons */ for (CompanyID i = COMPANY_FIRST; i < MAX_COMPANIES; i++) { NWidgetCore *button = this->GetWidget(i + WID_AID_COMPANY_BUTTON_START); -- cgit v1.2.3-54-g00ecf