From 524fbcdd3e359e07c1ff6e8ae05e03bc35977259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 20 Aug 2013 20:56:21 +0200 Subject: [PATCH] Disable drag mod reordering --- gui/ModListView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/ModListView.cpp b/gui/ModListView.cpp index 61ab36511..dc63fcd9d 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); }