diff options
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 99f806038..d172780a8 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -1061,6 +1061,8 @@ struct AIDebugWindow : public Window { this->querystrings[WID_AID_BREAK_STR_EDIT_BOX] = &this->break_editbox; + SetWidgetsDisabledState(!this->show_break_box, WID_AID_BREAK_STR_ON_OFF_BTN, WID_AID_BREAK_STR_EDIT_BOX, WID_AID_MATCH_CASE_BTN, WIDGET_LIST_END); + /* Restore the break string value from static variable */ this->break_editbox.text.Assign(this->break_string); |