mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +02:00
fix for bug 189010 - Mnemonics problem in Open Element dialog
This commit is contained in:
parent
5a62498557
commit
883db256c2
2 changed files with 2 additions and 6 deletions
|
@ -17,7 +17,7 @@ TypeSelectionDialog_filterLabel=Visible element types:
|
|||
|
||||
# START NON-TRANSLATABLE
|
||||
TypeSelectionDialog_filterNamespaces=&Namespace
|
||||
TypeSelectionDialog_filterClasses=&Class
|
||||
TypeSelectionDialog_filterClasses=C&lass
|
||||
TypeSelectionDialog_filterStructs=&Struct
|
||||
TypeSelectionDialog_filterTypedefs=&Typedef
|
||||
TypeSelectionDialog_filterEnums=&Enumeration
|
||||
|
|
|
@ -39,7 +39,6 @@ import org.eclipse.swt.layout.GridLayout;
|
|||
import org.eclipse.swt.widgets.Button;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.Control;
|
||||
import org.eclipse.swt.widgets.Label;
|
||||
import org.eclipse.swt.widgets.Shell;
|
||||
import org.eclipse.swt.widgets.Text;
|
||||
import org.eclipse.ui.dialogs.FilteredList;
|
||||
|
@ -394,10 +393,7 @@ public class TypeSelectionDialog extends TwoPaneElementSelector {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
Label label = new Label(composite, SWT.LEFT);
|
||||
label.setFont(composite.getFont());
|
||||
label.setText(name);
|
||||
checkbox.setText(name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue