mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
[processing] don't override default selection mode in ui file
This commit is contained in:
parent
2851c5a2fa
commit
c9a90d9a08
@ -41,10 +41,10 @@ class MultipleFileInputDialog(QDialog, Ui_DlgMultipleSelection):
|
||||
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 @@ class MultipleInputDialog(QDialog, Ui_DlgMultipleSelection):
|
||||
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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user