forked from qt-creator/qt-creator
QmlDesigner: Reset table cell sizes after resetting CollectionDetails
Fixes: QDS-11743 Change-Id: I7b8f0a83d796bd8094981e12032e6f0b465e2508 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -357,6 +357,15 @@ Rectangle {
|
||||
onTriggered: root.model.removeRows(root.model.selectedRow, 1)
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: tableView.model
|
||||
|
||||
function onModelReset() {
|
||||
tableView.clearColumnWidths()
|
||||
tableView.clearRowHeights()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
HoverHandler { id: hoverHandler }
|
||||
|
Reference in New Issue
Block a user