This is an automated email from the ASF dual-hosted git repository.

mattcasters pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new 777e2cf273 Issue #8861 : TableView opens the multi-line pop-out editor 
on TEXT_BUTTON columns, making the cell button unreachable #8861 (#8862)
777e2cf273 is described below

commit 777e2cf27307002cc6768587824544432e03e686
Author: Nicolas Adment <[email protected]>
AuthorDate: Sun Oct 11 23:36:37 2026 +0200

    Issue #8861 : TableView opens the multi-line pop-out editor on TEXT_BUTTON 
columns, making the cell button unreachable #8861 (#8862)
---
 ui/src/main/java/org/apache/hop/ui/core/widget/TableView.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ui/src/main/java/org/apache/hop/ui/core/widget/TableView.java 
b/ui/src/main/java/org/apache/hop/ui/core/widget/TableView.java
index 8ed7e4b427..15af344096 100644
--- a/ui/src/main/java/org/apache/hop/ui/core/widget/TableView.java
+++ b/ui/src/main/java/org/apache/hop/ui/core/widget/TableView.java
@@ -3310,8 +3310,9 @@ public class TableView extends Composite {
 
     // A single-line editor can't represent a multi-line value (control-char 
boxes on Windows), so
     // edit values that contain a line break in the multi-line pop-out editor 
instead.
-    if ((colinfo.getType() == ColumnInfo.COLUMN_TYPE_TEXT
-            || colinfo.getType() == ColumnInfo.COLUMN_TYPE_TEXT_BUTTON)
+    // Do not enable the multi-line editor for columns of type 
ColumnInfo.COLUMN_TYPE_TEXT_BUTTON
+    // (Issue #8861)
+    if ((colinfo.getType() == ColumnInfo.COLUMN_TYPE_TEXT)
         && indexOfLineBreak(getCellValue(row, colNr)) >= 0) {
       editMultiline(row, rowNr, colNr, colinfo);
       return;

Reply via email to