OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca5ffc0
)
Fix the Select Files or Folders dialog. (#892)
author
Jun Tajima
<56220423+tjmprm77@users.noreply.github.com>
Thu, 22 Jul 2021 10:49:16 +0000
(19:49 +0900)
committer
GitHub
<noreply@github.com>
Thu, 22 Jul 2021 10:49:16 +0000
(19:49 +0900)
- Fix an issue where plugin items are added to the "Save Project ..." drop down button when files (instead of directories) are specified in the "File or Folder" fields.
Src/OpenView.cpp
patch
|
blob
|
history
diff --git
a/Src/OpenView.cpp
b/Src/OpenView.cpp
index
1ce393f
..
ae232f9
100644
(file)
--- a/
Src/OpenView.cpp
+++ b/
Src/OpenView.cpp
@@
-832,7
+832,7
@@
void COpenView::DropDown(NMHDR* pNMHDR, LRESULT* pResult, UINT nID, UINT nPopupI
CMenu* pPopup = menu.GetSubMenu(0);
if (pPopup != nullptr)
{
- if (GetDlgItem(IDC_UNPACKER_COMBO)->IsWindowEnabled())
+ if (
nID == IDOK &&
GetDlgItem(IDC_UNPACKER_COMBO)->IsWindowEnabled())
{
UpdateData(TRUE);
String tmpPath[3];