Skip to content

Commit

Permalink
Reflect autolock gui menu
Browse files Browse the repository at this point in the history
  • Loading branch information
maron2000 committed Nov 5, 2024
1 parent 8cc33c0 commit 823db8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/menu_callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2533,6 +2533,7 @@ bool autolock_mouse_menu_callback(DOSBoxMenu * const menu, DOSBoxMenu::item * co
(void)menuitem;//UNUSED
sdl.mouse.autoenable = !sdl.mouse.autoenable;
mainMenu.get_item("auto_lock_mouse").check(sdl.mouse.autoenable).refresh_item(mainMenu);
Mouse_AutoLock(sdl.mouse.autoenable);
return true;
}

Expand Down

0 comments on commit 823db8b

Please sign in to comment.