QmlDesigner: Add context menu to the cell

Task-number: QDS-11253
Change-Id: I4b93feb867d0d78d9e9b473c9dd6a645c031ccaf
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Shrief Gabr
2024-01-10 11:11:11 +02:00
parent 63f98ec9e4
commit f5cb1530a4
2 changed files with 77 additions and 3 deletions

View File

@@ -366,8 +366,8 @@ bool CollectionDetailsModel::selectRow(int row)
const int rows = rowCount();
if (m_selectedRow >= rows)
return false;
if (row >= rows)
row = rows - 1;
selectColumn(-1);