Changeset - r28326:bab699c21155
[Not reviewed]
master
0 1 0
Loïc Guilloux - 11 months ago 2023-12-24 00:08:18
glx22@users.noreply.github.com
Fix 4a2038e301: fully restore script break filter on reopen (#11622)
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/script/script_gui.cpp
Show inline comments
 
@@ -800,8 +800,9 @@ struct ScriptDebugWindow : public Window
 
		SetWidgetsDisabledState(!this->show_break_box, WID_SCRD_BREAK_STR_ON_OFF_BTN, WID_SCRD_BREAK_STR_EDIT_BOX, WID_SCRD_MATCH_CASE_BTN);
 
		this->hscroll->SetStepSize(10); // Speed up horizontal scrollbar
 

	
 
		/* Restore the break string value from static variable */
 
		/* Restore the break string value from static variable, and enable the filter. */
 
		this->break_editbox.text.Assign(this->filter.break_string);
 
		this->break_string_filter.SetFilterTerm(this->filter.break_string);
 

	
 
		if (show_company == INVALID_COMPANY) {
 
			this->SelectValidDebugCompany();
0 comments (0 inline, 0 general)