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 426aa048a3 additional listener on toolbar image labels. fixes #6299
(#6300)
426aa048a3 is described below
commit 426aa048a3f288632afd4b78ae234b88305e8772
Author: Bart Maertens <[email protected]>
AuthorDate: Tue Jan 6 06:46:21 2026 +0000
additional listener on toolbar image labels. fixes #6299 (#6300)
---
ui/src/main/java/org/apache/hop/ui/core/gui/GuiToolbarWidgets.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/src/main/java/org/apache/hop/ui/core/gui/GuiToolbarWidgets.java
b/ui/src/main/java/org/apache/hop/ui/core/gui/GuiToolbarWidgets.java
index 25443f212e..8beea89c68 100644
--- a/ui/src/main/java/org/apache/hop/ui/core/gui/GuiToolbarWidgets.java
+++ b/ui/src/main/java/org/apache/hop/ui/core/gui/GuiToolbarWidgets.java
@@ -346,6 +346,9 @@ public class GuiToolbarWidgets extends BaseGuiWidgets {
imageLabel.addListener(SWT.MouseEnter, listener);
imageLabel.addListener(SWT.MouseExit, listener);
+ // Also add the toolbar click handler to the image label
+ imageLabel.addListener(SWT.MouseDown, toolbarListener);
+
// Make the entire composite clickable (image + text)
composite.addListener(SWT.MouseDown, toolbarListener);