(svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible.

This commit is contained in:
frosch
2013-06-15 15:31:04 +00:00
parent 5cb174c6b8
commit ee4e68bd5e
3 changed files with 10 additions and 1 deletions

View File

@@ -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);