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

fix for 99818

This commit is contained in:
Chris Recoskie 2006-07-05 18:10:23 +00:00
parent da21b10884
commit 7af727a38e

View file

@ -239,7 +239,8 @@ public class FileListControl {
String result;
switch (type) {
case IOption.BROWSE_DIR :
DirectoryDialog dialog = new DirectoryDialog(getParentShell(), SWT.OPEN);
DirectoryDialog dialog = new DirectoryDialog(getParentShell(),
SWT.OPEN|SWT.APPLICATION_MODAL);
currentName = getText().getText();
if(currentName != null && currentName.trim().length() != 0) {
dialog.setFilterPath(currentName);