1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

Bug 515249: Corrected icon display

Change-Id: I2e3ad02421da963ec8c75e4c6071d70c06e9a4ef
Signed-off-by: Pierre Sachot <sachot.pierre@laposte.net>
This commit is contained in:
Pierre Sachot 2017-04-19 13:14:24 +01:00
parent df26b628b7
commit 6146025ab7

View file

@ -10,6 +10,7 @@
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.ui.newui; package org.eclipse.cdt.ui.newui;
import org.eclipse.jface.window.Window;
//import org.eclipse.jface.dialogs.Dialog; //import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.SWT; import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionAdapter;
@ -64,6 +65,7 @@ public abstract class AbstractPropertyDialog extends Dialog {
public boolean open () { public boolean open () {
shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE); shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE);
shell.setImage(Window.getDefaultImage());
shell.setText(getText()); shell.setText(getText());
createDialogArea(shell); createDialogArea(shell);