Skip to content

Commit

Permalink
Fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rad-pat committed May 20, 2020
1 parent c6e4ebb commit 5f176c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ qx.Class.define("qx.ui.treevirtual.SimpleTreeDataModel",
// overridden
isColumnEditable : function(columnIndex)
{
// The tree column is not editable
if (columnIndex == this._treeColumn)
{
return this.__tree.getAllowNodeEdit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ qx.Class.define("qx.ui.treevirtual.celleditor.NodeEditor",
var cellEditor = this._createEditor();

// The value in the case of a Tree is a Node and we want the label
if (cellInfo.value === null || cellInfo.value === undefined) {
if (cellInfo.value === null || typeof cellInfo.value != "object") {
cellInfo.value = {label: ""};
}

Expand Down

0 comments on commit 5f176c6

Please sign in to comment.