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.setModel(self.proxy)
|
||||||
self.table.setItemDelegateForColumn(3, StateIconDelegate())
|
self.table.setItemDelegateForColumn(3, StateIconDelegate())
|
||||||
self.table.resizeColumnsToContents()
|
self.table.resizeColumnsToContents()
|
||||||
self.table.setSelectionMode(QAbstractItemView.ExtendedSelection)
|
|
||||||
selection_model = self.table.selectionModel()
|
selection_model = self.table.selectionModel()
|
||||||
selection_model.selectionChanged.connect(self.table_selection_changed)
|
selection_model.selectionChanged.connect(self.table_selection_changed)
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="selectionMode">
|
<property name="selectionMode">
|
||||||
<enum>QAbstractItemView::SingleSelection</enum>
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="selectionBehavior">
|
<property name="selectionBehavior">
|
||||||
<enum>QAbstractItemView::SelectRows</enum>
|
<enum>QAbstractItemView::SelectRows</enum>
|
||||||
|
Loading…
Reference in New Issue
Block a user