diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-20 20:56:21 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-20 20:56:21 +0200 |
commit | 524fbcdd3e359e07c1ff6e8ae05e03bc35977259 (patch) | |
tree | ffe864c54c98a066c944c3a74ba6f3090b5ec0b0 /gui | |
parent | bbc47cb8bdaea8fd9855e3e06b7607a7d15f3ef2 (diff) | |
download | MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar.gz MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar.lz MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.tar.xz MultiMC-524fbcdd3e359e07c1ff6e8ae05e03bc35977259.zip |
Disable drag mod reordering
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ModListView.cpp | 2 |
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); } |