Fix: Missing invalidations on gui.ai_developer_tools change (#11664)

This commit is contained in:
Loïc Guilloux
2024-01-01 00:43:10 +01:00
committed by GitHub
parent 3e2060f155
commit f56a2d0f82
2 changed files with 8 additions and 6 deletions

View File

@@ -796,7 +796,7 @@ cat = SC_EXPERT
var = gui.ai_developer_tools
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
def = false
post_cb = [](auto) { InvalidateWindowClassesData(WC_SCRIPT_SETTINGS); }
post_cb = [](auto) { InvalidateWindowClassesData(WC_GAME_OPTIONS); InvalidateWindowClassesData(WC_SCRIPT_DEBUG); InvalidateWindowClassesData(WC_SCRIPT_SETTINGS); }
cat = SC_EXPERT
[SDTC_BOOL]