mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 07:44:24 +02:00
Fixed crash issue by checking & unchecking "Disable extension column" in preferences dialog
Fix #4682, close #4684
This commit is contained in:
parent
1c60f3f93e
commit
14b5e161cc
@ -122,6 +122,7 @@ void VerticalFileSwitcherListView::initList()
|
|||||||
{
|
{
|
||||||
// resize "Name" column when "exts" won't fit
|
// resize "Name" column when "exts" won't fit
|
||||||
LVCOLUMN lvc;
|
LVCOLUMN lvc;
|
||||||
|
lvc.mask = LVCF_WIDTH;
|
||||||
SendMessage(_hSelf, LVM_GETCOLUMN, 0, reinterpret_cast<LPARAM>(&lvc));
|
SendMessage(_hSelf, LVM_GETCOLUMN, 0, reinterpret_cast<LPARAM>(&lvc));
|
||||||
|
|
||||||
if (lvc.cx + 50 > totalWidth)
|
if (lvc.cx + 50 > totalWidth)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user