Author: yradtsevich
Date: 2012-05-18 12:40:30 -0400 (Fri, 18 May 2012)
New Revision: 41160
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java
Log:
https://issues.jboss.org/browse/JBIDE-11909 : BrowserSim: preferences dialog isn't
blocked when edit dialog is open
- applied Ilya Buziuk's patch
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java 2012-05-18
16:26:04 UTC (rev 41159)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/EditDeviceDialog.java 2012-05-18
16:40:30 UTC (rev 41160)
@@ -89,7 +89,7 @@
* Create contents of the dialog.
*/
private void createContents() {
- shell = new Shell(getParent(), SWT.DIALOG_TRIM | SWT.MIN | SWT.MAX);
+ shell = new Shell(getParent(), getStyle());
shell.setSize(450, 300);
shell.setText(Messages.EditDeviceDialog_EDIT_DEVICE);
shell.setLayout(new GridLayout(2, false));