Skip to content

Commit af4f33b

Browse files
jnerlichvogella
authored andcommitted
Prevent mouse wheel from changing selection application
Commit 863e7c4 contained a copy and paste error (using fProductCombo instead of fAppCombo)
1 parent fd1002d commit af4f33b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ProductInfoSection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private void createApplicationEntry(Composite client, FormToolkit toolkit) {
267267
fAppCombo.add(""); //$NON-NLS-1$
268268
fAppCombo.addSelectionListener(
269269
widgetSelectedAdapter(e -> getProduct().setApplication(fAppCombo.getSelection())));
270-
fProductCombo.getControl().addListener(SWT.MouseWheel, event -> {
270+
fAppCombo.getControl().addListener(SWT.MouseWheel, event -> {
271271
// Cancel the event to prevent default scrolling
272272
event.doit = false;
273273
});

0 commit comments

Comments
 (0)