Skip to content

Commit

Permalink
Fix copy/paste from line to another of different kind
Browse files Browse the repository at this point in the history
LeoVgr committed Feb 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fa2e157 commit edba695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hide/comp/cdb/Editor.hx
Original file line number Diff line number Diff line change
@@ -682,8 +682,8 @@ class Editor extends Component {
for( cid in 0...clipboard.schema.length ) {
var c1 = clipboard.schema[cid];
var c2 = columns[cid + posX];
var p = Editor.getColumnProps(c2);
if( c2 == null ) continue;
var p = Editor.getColumnProps(c2);

if( !cursor.table.canEditColumn(c2.name) || p.copyPasteImmutable)
continue;

0 comments on commit edba695

Please sign in to comment.