Skip to content

Commit bc26845

Browse files
committed
no message
1 parent 04a715b commit bc26845

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/class/qxl/datagrid/ui/SelectionManager.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ qx.Class.define("qxl.datagrid.ui.SelectionManager", {
291291
__forceRowModel(model) {
292292
let dataSource = this.getDataSource();
293293
let pos = dataSource.getPositionOfModel(model);
294+
if (!pos) {
295+
return model;
296+
}
294297
if (pos.getColumn() != 0) {
295298
model = dataSource.getModelForPosition(new qxl.datagrid.source.Position(pos.getRow(), 0));
296299
}

0 commit comments

Comments
 (0)