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 2023/01/14 22:11:44 UTC
[hop] branch master updated: Fix #2156 : Insert a variable in Write to log action with Ctrl+Space
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new a4271b0836 Fix #2156 : Insert a variable in Write to log action with Ctrl+Space
new 76f35bbc13 Merge pull request #2158 from nadment/2156
a4271b0836 is described below
commit a4271b083668728a1ab8dd109e5e6ced67eac9db
Author: Nicolas Adment <39...@users.noreply.github.com>
AuthorDate: Fri Jan 13 22:38:47 2023 +0100
Fix #2156 : Insert a variable in Write to log action with Ctrl+Space
---
.../hop/workflow/actions/writetolog/ActionWriteToLogDialog.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/plugins/actions/writetolog/src/main/java/org/apache/hop/workflow/actions/writetolog/ActionWriteToLogDialog.java b/plugins/actions/writetolog/src/main/java/org/apache/hop/workflow/actions/writetolog/ActionWriteToLogDialog.java
index c3c2a8504e..de536b6a1d 100644
--- a/plugins/actions/writetolog/src/main/java/org/apache/hop/workflow/actions/writetolog/ActionWriteToLogDialog.java
+++ b/plugins/actions/writetolog/src/main/java/org/apache/hop/workflow/actions/writetolog/ActionWriteToLogDialog.java
@@ -26,7 +26,6 @@ import org.apache.hop.i18n.BaseMessages;
import org.apache.hop.ui.core.PropsUi;
import org.apache.hop.ui.core.dialog.BaseDialog;
import org.apache.hop.ui.core.dialog.MessageBox;
-import org.apache.hop.ui.core.widget.ControlSpaceKeyAdapter;
import org.apache.hop.ui.core.widget.TextVar;
import org.apache.hop.ui.pipeline.transform.BaseTransformDialog;
import org.apache.hop.ui.workflow.action.ActionDialog;
@@ -167,7 +166,7 @@ public class ActionWriteToLogDialog extends ActionDialog implements IActionDialo
fdlLogMessage.top = new FormAttachment(wLogSubject, margin);
fdlLogMessage.right = new FormAttachment(middle, -margin);
wlLogMessage.setLayoutData(fdlLogMessage);
-
+
wLogMessage =
new TextVar(
variables, shell, SWT.MULTI | SWT.LEFT | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
@@ -180,7 +179,6 @@ public class ActionWriteToLogDialog extends ActionDialog implements IActionDialo
fdLogMessage.right = new FormAttachment(100, 0);
fdLogMessage.bottom = new FormAttachment(wOk, -margin);
wLogMessage.setLayoutData(fdLogMessage);
- wLogMessage.addKeyListener(new ControlSpaceKeyAdapter(variables, wLogMessage));
getData();