From e472a99241c887c9c8c53ba61fd7c422750d7a5a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Aug 2020 20:58:35 +0300 Subject: fixes #2504 (rolls back a fix for #2498) --- plugins/Clist_modern/src/modern_clui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Clist_modern') diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp index 8dfea5e3e6..8008b6f8e3 100644 --- a/plugins/Clist_modern/src/modern_clui.cpp +++ b/plugins/Clist_modern/src/modern_clui.cpp @@ -2296,8 +2296,9 @@ LRESULT CLUI::OnListSizeChangeNotify(NMCLISTCONTROL *pnmc) SetWindowPos(m_hWnd, nullptr, rcWindow.left, rcWindow.top, rcWindow.right - rcWindow.left, rcWindow.bottom - rcWindow.top, SWP_NOZORDER | SWP_NOACTIVATE); // during total resize contact list tree's height was somehow changed - if (nLastRequiredHeight != newHeight) + /* if (nLastRequiredHeight != newHeight) SetWindowPos(m_hWnd, nullptr, rcWindow.left, rcWindow.top, rcWindow.right - rcWindow.left, nLastRequiredHeight, SWP_NOZORDER | SWP_NOACTIVATE); + */ nRequiredHeight = 0; return FALSE; -- cgit v1.2.3