Fix SelectionMode on ui file
This commit is contained in:
parent
954f2dc7f7
commit
629f16f24c
@ -715,7 +715,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
|
||||
self.table.setModel(self.proxy)
|
||||
self.table.setItemDelegateForColumn(3, StateIconDelegate())
|
||||
self.table.resizeColumnsToContents()
|
||||
self.table.setSelectionMode(QAbstractItemView.ExtendedSelection)
|
||||
selection_model = self.table.selectionModel()
|
||||
selection_model.selectionChanged.connect(self.table_selection_changed)
|
||||
|
||||
|
@ -108,7 +108,7 @@
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
<enum>QAbstractItemView::ExtendedSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
|
Loading…
Reference in New Issue
Block a user