OSDN Git Service

Fix the problem that WinMerge crashes when pressing the "OK" button in the "Display...
authorJun Tajima <56220423+tjmprm77@users.noreply.github.com>
Sun, 13 Nov 2022 06:48:54 +0000 (15:48 +0900)
committerGitHub <noreply@github.com>
Sun, 13 Nov 2022 06:48:54 +0000 (15:48 +0900)
commit88297eba33a4064ca4a6071661f906a99722e994
treebf64a9b3c82709754d9ce95e37d40009d83d5727
parentcd79eb6e1ba1a0a149f38207d3d54cf18bc4f483
Fix the problem that WinMerge crashes when pressing the "OK" button in the "Display Columns" dialog in the debug version. (#1568)

- Disable the "OK" button in the "Display Columns" dialog if no items are checked.
- Reload the columns in the folder compare window when the "OK" button in the "Display Columns" dialog is pressed with no items checked
  (although it cannot actually be pressed due to the fix above).
- Add some error handling and asserts.
Src/DirColsDlg.cpp
Src/DirView.cpp