diff options
author | Abhishek Kishore | 2014-04-28 14:46:51 +0000 |
---|---|---|
committer | Niraj Modi | 2014-07-07 05:05:02 +0000 |
commit | 346e516fd49e5d732af4c82575d10fcf693d38c9 (patch) | |
tree | 11509a3372f0cedb9a03e974e700b48d66f0a49f | |
parent | dfa0e6e08e78ca3997697d7afcacc5bc1b6607d2 (diff) | |
download | eclipse.platform.swt-346e516fd49e5d732af4c82575d10fcf693d38c9.tar.gz eclipse.platform.swt-346e516fd49e5d732af4c82575d10fcf693d38c9.tar.xz eclipse.platform.swt-346e516fd49e5d732af4c82575d10fcf693d38c9.zip |
Change-Id: Ic386716745ad7583b5ce32b97a44a70bda807f5d
Signed-off-by: Abhishek Kishore <abhishek.kishore@in.ibm.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/FileDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/FileDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/FileDialog.java index d6281e80cd..b14a5fe54c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/FileDialog.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/FileDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2012 IBM Corporation and others. + * Copyright (c) 2000, 2014 IBM Corporation 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 @@ -341,7 +341,7 @@ long /*int*/ panel_shouldShowFilename (long /*int*/ id, long /*int*/ sel, long / if (found) { if (isDirectory[0] != 0) { return 1; - } else { + } else if (popup != null) { String fileName = path.lastPathComponent().getString(); int filterIndex = (int)/*64*/popup.indexOfSelectedItem(); String extensions = filterExtensions [filterIndex]; |