Allow reordering of sources in list

This commit is contained in:
Tats
2014-03-19 15:01:18 -04:00
parent aa0dce3831
commit 7602a77166
+2
View File
@@ -702,6 +702,8 @@ void MainWindow::createLayout()
paintList = new QListWidget;
paintList->setSelectionMode(QAbstractItemView::SingleSelection);
paintList->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
paintList->setDefaultDropAction(Qt::MoveAction);
paintList->setDragDropMode(QAbstractItemView::InternalMove);
paintList->setMinimumWidth(PAINT_LIST_MINIMUM_WIDTH);
// Create mapping list.