diff --git a/src/shared/help/bookmarkmanager.cpp b/src/shared/help/bookmarkmanager.cpp index 4d17c9f8eca..f66ba076a40 100644 --- a/src/shared/help/bookmarkmanager.cpp +++ b/src/shared/help/bookmarkmanager.cpp @@ -443,6 +443,10 @@ void BookmarkWidget::setup() treeView->setDropIndicatorShown(true); treeView->viewport()->installEventFilter(this); treeView->setContextMenuPolicy(Qt::CustomContextMenu); + // work around crash on Windows with drag & drop + // in combination with proxy model and ResizeToContents section resize mode + treeView->header()->setSectionResizeMode(QHeaderView::Stretch); + connect(treeView, &TreeView::expanded, this, &BookmarkWidget::expand); connect(treeView, &TreeView::collapsed, this, &BookmarkWidget::expand);