Commit f9c980c5 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Make sure drag mode doesn't persist when switching to icon view.

Fixes #486
parent c5501bec
...@@ -1469,6 +1469,8 @@ void Bin::slotInitView(QAction *action) ...@@ -1469,6 +1469,8 @@ void Bin::slotInitView(QAction *action)
m_itemView->setSelectionModel(m_proxyModel->selectionModel()); m_itemView->setSelectionModel(m_proxyModel->selectionModel());
m_proxyModel->setDynamicSortFilter(true); m_proxyModel->setDynamicSortFilter(true);
m_layout->insertWidget(1, m_itemView); m_layout->insertWidget(1, m_itemView);
// Reset drag type to normal
// setup some default view specific parameters // setup some default view specific parameters
if (m_listType == BinTreeView) { if (m_listType == BinTreeView) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment