diff options
author | George Hazan <ghazan@miranda.im> | 2019-10-28 21:18:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-10-28 21:18:01 +0300 |
commit | 9f211a10313ea6f508c5521bd2a0880e062b5f08 (patch) | |
tree | 6fa62f97150a55c3569570a8111d9489990ab1fb /plugins/TabSRMM/src/sidebar.cpp | |
parent | c9ea0a63cc82a0dbe1d2b5a7fcb9a95c8b9f1aae (diff) |
fixes #2101 (tabSRMM: tabs disappear when switching layout to vertical)
Diffstat (limited to 'plugins/TabSRMM/src/sidebar.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sidebar.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/sidebar.cpp b/plugins/TabSRMM/src/sidebar.cpp index 6b77165c6f..2943b6c801 100644 --- a/plugins/TabSRMM/src/sidebar.cpp +++ b/plugins/TabSRMM/src/sidebar.cpp @@ -394,8 +394,7 @@ void CSideBar::Init() m_hwndScrollWnd = ::CreateWindowEx(0, L"TS_SideBarClass", L"", WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE | WS_CHILD,
0, 0, m_width, 40, m_pContainer->m_hwnd, reinterpret_cast<HMENU>(5000), g_plugin.getInst(), this);
- m_isActive = true;
- m_isVisible = m_isActive ? m_isVisible : true;
+ m_isActive = m_isVisible = true;
createScroller();
m_elementHeight = m_currentLayout->height;
m_elementWidth = m_currentLayout->width;
|