Disable drag mod reordering
This commit is contained in:
parent
bbc47cb8bd
commit
524fbcdd3e
@ -20,7 +20,7 @@ ModListView::ModListView ( QWidget* parent )
|
|||||||
setHorizontalScrollBarPolicy ( Qt::ScrollBarAsNeeded );
|
setHorizontalScrollBarPolicy ( Qt::ScrollBarAsNeeded );
|
||||||
setDropIndicatorShown(true);
|
setDropIndicatorShown(true);
|
||||||
setDragEnabled(true);
|
setDragEnabled(true);
|
||||||
setDragDropMode(QAbstractItemView::DragDrop);
|
setDragDropMode(QAbstractItemView::DropOnly);
|
||||||
viewport()->setAcceptDrops(true);
|
viewport()->setAcceptDrops(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user