Commit f1fe20b7 authored by Luigi Baldoni's avatar Luigi Baldoni Committed by Laurent Montel
Browse files

Apply changes on restart

parent 1698aa23
......@@ -126,7 +126,7 @@ Akregator::SubscriptionListView::SubscriptionListView(QWidget *parent)
setRootIsDecorated(false);
setAlternatingRowColors(true);
setContextMenuPolicy(Qt::CustomContextMenu);
setDragDropMode(QAbstractItemView::DragDrop);
setDragDropMode(Settings::lockFeedsInPlace() ? QAbstractItemView::NoDragDrop : QAbstractItemView::DragDrop);
setDropIndicatorShown(true);
setAcceptDrops(true);
setUniformRowHeights(true);
......@@ -399,7 +399,7 @@ void SubscriptionListView::slotSetLockFeedsInPlace(bool setting)
return;
}
setDragDropMode(setting? QAbstractItemView::NoDragDrop : QAbstractItemView::InternalMove);
setDragDropMode(setting? QAbstractItemView::NoDragDrop : QAbstractItemView::DragDrop);
Settings::setLockFeedsInPlace(setting);
}
......
Markdown is supported
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