Skip to content
Permalink
Browse files

[processing] don't override default selection mode in ui file

  • Loading branch information
alexbruy committed Nov 17, 2014
1 parent 2851c5a commit c9a90d9a08c5b3e5c0c49a2534fe778549480f3d
@@ -41,10 +41,10 @@ def __init__(self, options):
QDialog.__init__(self)
self.setupUi(self)

self.selectedoptions = options

self.lstLayers.setSelectionMode(QAbstractItemView.ExtendedSelection)

self.selectedoptions = options

# Additional buttons
self.btnAdd = QPushButton(self.tr('Add file'))
self.buttonBox.addButton(self.btnAdd,
@@ -37,6 +37,8 @@ def __init__(self, options, selectedoptions=None):
QDialog.__init__(self)
self.setupUi(self)

self.lstLayers.setSelectionMode(QAbstractItemView.NoSelection)

self.options = options
self.selectedoptions = selectedoptions or []

@@ -28,9 +28,6 @@
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
</widget>
</item>
<item>

0 comments on commit c9a90d9

Please sign in to comment.
You can’t perform that action at this time.