database connection
This commit is contained in:
@@ -72,7 +72,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
columnSpacing: 1
|
||||
rowSpacing: 2
|
||||
model: dbm
|
||||
model: bm
|
||||
selectionBehavior: TableView.SelectRows
|
||||
selectionModel: ItemSelectionModel
|
||||
|
||||
@@ -109,7 +109,7 @@ Item {
|
||||
|
||||
onClicked:
|
||||
{
|
||||
dbm.onRowClicked(row)
|
||||
bm.onRowClicked(row)
|
||||
testTable.selectionModel.select(testTable.model.index(row, 0), ItemSelectionModel.SelectCurrent | ItemSelectionModel.Rows)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user