summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-20 20:56:21 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-20 20:56:21 +0200
commit524fbcdd3e359e07c1ff6e8ae05e03bc35977259 (patch)
treeffe864c54c98a066c944c3a74ba6f3090b5ec0b0
parentbbc47cb8bdaea8fd9855e3e06b7607a7d15f3ef2 (diff)
downloadMultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar
MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar.gz
MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar.lz
MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar.xz
MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.zip
Disable drag mod reordering
-rw-r--r--gui/ModListView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ModListView.cpp b/gui/ModListView.cpp
index 61ab3651..dc63fcd9 100644
--- a/gui/ModListView.cpp
+++ b/gui/ModListView.cpp
@@ -20,7 +20,7 @@ ModListView::ModListView ( QWidget* parent )
setHorizontalScrollBarPolicy ( Qt::ScrollBarAsNeeded );
setDropIndicatorShown(true);
setDragEnabled(true);
- setDragDropMode(QAbstractItemView::DragDrop);
+ setDragDropMode(QAbstractItemView::DropOnly);
viewport()->setAcceptDrops(true);
}