From c0ec0530640fa2e887c36b35ca36cac38112315a Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Fri, 9 Aug 2019 11:18:53 +0300 Subject: [PATCH] Fixed combo box list to open properly when starting edit This order seems to work better than the old one. gitlab #335 Change-Id: I22ed0fb0c41695b39ee88e6a9b6bc8bce16d6d0d --- .../src/org/simantics/browsing/ui/swt/GraphExplorerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/GraphExplorerImpl.java b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/GraphExplorerImpl.java index 40c21585a..6361401b4 100644 --- a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/GraphExplorerImpl.java +++ b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/GraphExplorerImpl.java @@ -1076,7 +1076,6 @@ class GraphExplorerImpl extends GraphExplorerImplBase implements Listener, Graph editor.setEditor(combo, item, columnIndex); combo.setFocus(); - combo.setListVisible(true); GraphExplorerImpl.this.reconfigureTreeEditorForText(item, columnIndex, combo, combo.getText(), SWT.DEFAULT, 0, 0); @@ -1085,6 +1084,7 @@ class GraphExplorerImpl extends GraphExplorerImplBase implements Listener, Graph // Removed in comboListener currentlyModifiedNodes.add(context); + combo.setListVisible(true); //System.out.println("START ENUMERATION EDITING: " + item); } -- 2.47.1