debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/InstallationTab.java
changeset 664 18b0c24adafe
parent 624 dbf7d1f110f9
child 674 20c7966a3405
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/InstallationTab.java	Wed Dec 09 09:02:51 2009 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/InstallationTab.java	Wed Dec 09 15:39:08 2009 -0600
@@ -144,6 +144,9 @@
 				dialog.setFilterExtensions(new String[] {"*.sis*", "*.*"}); //$NON-NLS-1$ //$NON-NLS-2$
 				dialog.setFilterNames(new String[] {Messages.getString("InstallationTab.27"), Messages.getString("InstallationTab.28")}); //$NON-NLS-1$ //$NON-NLS-2$
 
+				dialog.setFilterPath(new File(hostPath.getText()).getParent());
+				dialog.setFileName(new File(hostPath.getText()).getName());
+				
 				String result = dialog.open();
 				if (result != null && new File(result).exists()) {
 					hostPath.setText(result);