forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user