diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-18 18:20:06 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-18 18:20:12 +0300 |
commit | 1d2f883b5ef5513aa57026b0556d56ed92da4e00 (patch) | |
tree | 4277b1a0779a302295aa5334a4e79fc948bb8769 /plugins | |
parent | 51c9c97324654068a6e7f6a0658cd88da32d3731 (diff) |
fixes #3745 (NewStory: при изменении порядка сортировки в открытом окне начинаются чудеса)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 2bc48a8adc..f0b73701d1 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -851,6 +851,8 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM case NSM_SET_OPTIONS: data->bSortAscending = g_plugin.bSortAscending; + data->scrollTopPixel = 0; + data->FixScrollPosition(true); InvalidateRect(hwnd, 0, FALSE); break; |