Skip to content

Commit d2bff11

Browse files
committed
Enable the model search element by default
In the preference for the Model Editor the useful serach preference should be enabled by default
1 parent ade6dbb commit d2bff11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/tabs

e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/tabs/XmiTab.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public void keyPressed(KeyEvent e) {
134134

135135
final String property = System
136136
.getProperty(ORG_ECLIPSE_E4_TOOLS_MODELEDITOR_FILTEREDTREE_ENABLED_XMITAB_DISABLED);
137-
if (property != null || preferences.getBoolean("tab-form-search-show", false)) { //$NON-NLS-1$
137+
if (property != null || preferences.getBoolean("tab-form-search-show", true)) { //$NON-NLS-1$
138138
sourceViewer.setEditable(false);
139139
sourceViewer.getTextWidget().setEnabled(false);
140140
}

0 commit comments

Comments
 (0)