changeset 36816:790318d7ce23

Don't automatically apply the Win32 GUI preferences' defaults. Just present them and let the user decide whether to apply or to cancel.
author ib
date Sun, 23 Feb 2014 19:35:08 +0000
parents 4c44fdd14655
children 7a8415e52841
files gui/win32/preferences.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/preferences.c	Sun Feb 23 19:33:46 2014 +0000
+++ b/gui/win32/preferences.c	Sun Feb 23 19:35:08 2014 +0000
@@ -514,7 +514,6 @@
                     SendDlgItemMessage(hwnd, ID_OSD1, BM_SETCHECK, BST_CHECKED, 0);
                     SendDlgItemMessage(hwnd, ID_OSD2, BM_SETCHECK, BST_UNCHECKED, 0);
                     SendDlgItemMessage(hwnd, ID_OSD3, BM_SETCHECK, BST_UNCHECKED, 0);
-                    SendMessage(hwnd, WM_COMMAND, (WPARAM)ID_APPLY, 0);
                     break;
                 }
                 case ID_CANCEL: