mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 19:35:36 +02:00
fix for bug 187037 - make "Add Watch Expression" dialog resizable
This commit is contained in:
parent
09a992d20a
commit
91122b9e89
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2004, 2005 QNX Software Systems and others.
|
||||
* Copyright (c) 2004, 2007 QNX Software Systems and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -7,6 +7,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* QNX Software Systems - Initial API and implementation
|
||||
* IBM Corporation
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.debug.internal.ui.actions;
|
||||
|
||||
|
@ -44,6 +45,7 @@ public class ExpressionDialog extends Dialog {
|
|||
*/
|
||||
public ExpressionDialog( Shell parentShell, String expression ) {
|
||||
super( parentShell );
|
||||
setShellStyle(getShellStyle() | SWT.RESIZE);
|
||||
if ( expression != null )
|
||||
fExpression = expression;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue