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
equal deleted inserted replaced
660:749482434cfa 664:18b0c24adafe
   142 
   142 
   143 				dialog.setText(Messages.getString("InstallationTab.4")); //$NON-NLS-1$
   143 				dialog.setText(Messages.getString("InstallationTab.4")); //$NON-NLS-1$
   144 				dialog.setFilterExtensions(new String[] {"*.sis*", "*.*"}); //$NON-NLS-1$ //$NON-NLS-2$
   144 				dialog.setFilterExtensions(new String[] {"*.sis*", "*.*"}); //$NON-NLS-1$ //$NON-NLS-2$
   145 				dialog.setFilterNames(new String[] {Messages.getString("InstallationTab.27"), Messages.getString("InstallationTab.28")}); //$NON-NLS-1$ //$NON-NLS-2$
   145 				dialog.setFilterNames(new String[] {Messages.getString("InstallationTab.27"), Messages.getString("InstallationTab.28")}); //$NON-NLS-1$ //$NON-NLS-2$
   146 
   146 
       
   147 				dialog.setFilterPath(new File(hostPath.getText()).getParent());
       
   148 				dialog.setFileName(new File(hostPath.getText()).getName());
       
   149 				
   147 				String result = dialog.open();
   150 				String result = dialog.open();
   148 				if (result != null && new File(result).exists()) {
   151 				if (result != null && new File(result).exists()) {
   149 					hostPath.setText(result);
   152 					hostPath.setText(result);
   150 					updatePULabel();
   153 					updatePULabel();
   151 					updateLaunchConfigurationDialog();
   154 					updateLaunchConfigurationDialog();