From edba695b76c61129ca6ad3f03399625edaa5dd53 Mon Sep 17 00:00:00 2001 From: lviguier Date: Thu, 1 Feb 2024 16:43:14 +0100 Subject: [PATCH] Fix copy/paste from line to another of different kind --- hide/comp/cdb/Editor.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hide/comp/cdb/Editor.hx b/hide/comp/cdb/Editor.hx index ee3c8ddd8..1344428bc 100644 --- a/hide/comp/cdb/Editor.hx +++ b/hide/comp/cdb/Editor.hx @@ -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;