summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2020-04-24 10:23:26 +0300
committerMataes <mataes2007@gmail.com>2020-04-24 10:23:26 +0300
commit31295f842591810ada5055dd4b419a0e208f3f56 (patch)
tree4a94b59547b03904cac52c47c06afbde3cb8ed85 /plugins
parentf5a529aa85e500133793ea9860de98b7866ff6a0 (diff)
newstory: close calendar after date selecting
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewStory/src/calendartool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/calendartool.cpp b/plugins/NewStory/src/calendartool.cpp
index 46155c6220..24fe7e059d 100644
--- a/plugins/NewStory/src/calendartool.cpp
+++ b/plugins/NewStory/src/calendartool.cpp
@@ -37,8 +37,8 @@ INT_PTR CALLBACK CalendarToolDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
tm_sel.tm_mday = lpnmsc->stSelStart.wDay;
tm_sel.tm_mon = lpnmsc->stSelStart.wMonth - 1;
tm_sel.tm_year = lpnmsc->stSelStart.wYear - 1900;
- //EndDialog(hwnd, mktime(&tm_sel));
PostMessage(GetParent(hwnd), WM_USER + 0x600, mktime(&tm_sel), 0);
+ EndDialog(hwnd, 0);
}
}
return TRUE;