1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Bug 264299 - Scalability dialog acts strangely when eclipse is starting in background

This commit is contained in:
Anton Leherbauer 2009-02-12 11:01:17 +00:00
parent e4fc78c9e5
commit 03dd6bda62

View file

@ -1390,6 +1390,9 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
new String[] {IDialogConstants.OK_LABEL}, 0,
CEditorMessages.Scalability_reappear,
false) {
{
setShellStyle(SWT.DIALOG_TRIM | SWT.MODELESS | SWT.ON_TOP | getDefaultOrientation());
}
@Override
protected void buttonPressed(int buttonId) {
PreferenceConstants.getPreferenceStore().setValue(PreferenceConstants.SCALABILITY_ALERT, !getToggleState());