You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2026/03/16 14:16:32 UTC

(hop) branch main updated: make database selection readonly, fixes #6568 (#6791)

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

hansva 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 3caf680382 make database selection readonly, fixes #6568 (#6791)
3caf680382 is described below

commit 3caf6803820a1b16a5a672fd62fdaa5d518b1cd3
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Mon Mar 16 15:16:27 2026 +0100

    make database selection readonly, fixes #6568 (#6791)
---
 .../main/java/org/apache/hop/ui/core/database/DatabaseMetaEditor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/main/java/org/apache/hop/ui/core/database/DatabaseMetaEditor.java b/ui/src/main/java/org/apache/hop/ui/core/database/DatabaseMetaEditor.java
index 111dc48f5c..eae3f18d7b 100644
--- a/ui/src/main/java/org/apache/hop/ui/core/database/DatabaseMetaEditor.java
+++ b/ui/src/main/java/org/apache/hop/ui/core/database/DatabaseMetaEditor.java
@@ -317,7 +317,7 @@ public class DatabaseMetaEditor extends MetadataEditor<DatabaseMeta> {
     item.setToolTipText(BaseMessages.getString(PKG, "System.Tooltip.Help"));
     item.addListener(SWT.Selection, e -> onHelpDatabaseType());
 
-    wConnectionType = new Combo(wGeneralComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
+    wConnectionType = new Combo(wGeneralComp, SWT.SINGLE | SWT.LEFT | SWT.BORDER | SWT.READ_ONLY);
     wConnectionType.setItems(getConnectionTypes());
     PropsUi.setLook(wConnectionType);
     FormData fdConnectionType = new FormData();