summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-14 14:33:58 +0300
committerPaul Buetow <paul@buetow.org>2026-04-14 14:33:58 +0300
commit2339fd48a0f7a29e63c801b2ad6c6ba54b68e9ca (patch)
tree1c46ef0ced1e72dee2b7475bdc9196afc8cfba95 /package.json
parent8577a835c2c9d34a20262316a369a481498e6e68 (diff)
fix: debug menu items had NULL callbacks after window appear
debug_refresh_menu() set all SimpleMenuItem.callback fields to NULL. debug_window_load() then set them to debug_menu_select_callback in a separate loop — but that loop ran *before* the debug_refresh_menu() call that immediately cleared them again. debug_window_appear also calls debug_refresh_menu(), so every re-focus wiped the callbacks. Fix: move the callback assignment into debug_refresh_menu() itself (adding a forward declaration so the function is in scope), and remove the now-redundant loop from debug_window_load(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions