Skip to content

Commit

Permalink
[processing] allow reordering in multiple selection dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 18, 2017
1 parent d062362 commit fe780af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/MultipleInputDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def __init__(self, options, selectedoptions=None, datatype=None):
self.datatype = datatype
self.model = None

self.lstLayers.setSelectionMode(QAbstractItemView.NoSelection)

self.options = []
for i, option in enumerate(options):
if option is None or isinstance(option, basestring):
Expand Down Expand Up @@ -88,6 +86,8 @@ def __init__(self, options, selectedoptions=None, datatype=None):
self.restoreGeometry(self.settings.value("/Processing/multipleInputDialogGeometry", QByteArray()))

self.lstLayers.setSelectionMode(QAbstractItemView.ExtendedSelection)
self.lstLayers.setDragDropMode(QAbstractItemView.InternalMove)

self.populateList()
self.finished.connect(self.saveWindowGeometry)

Expand Down

0 comments on commit fe780af

Please sign in to comment.