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:
parent
e4fc78c9e5
commit
03dd6bda62
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue