mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-21 07:05:58 +02:00
[341630] [import/export] destination prompt not cleared after destination chosen
This commit is contained in:
parent
b658348edb
commit
2e129f77dc
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2000, 2009 IBM Corporation and others.
|
* Copyright (c) 2000, 2011 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -13,6 +13,7 @@
|
||||||
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
|
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
|
||||||
* Takuya Miyamoto - [185925] Integrate Platform/Team Synchronization
|
* Takuya Miyamoto - [185925] Integrate Platform/Team Synchronization
|
||||||
* David McKnight (IBM) - [272708] [import/export] fix various bugs with the synchronization support
|
* David McKnight (IBM) - [272708] [import/export] fix various bugs with the synchronization support
|
||||||
|
* David McKnight (IBM) - [341630] [import/export] destination prompt not cleared after destination chosen
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.rse.internal.importexport.files;
|
package org.eclipse.rse.internal.importexport.files;
|
||||||
|
|
||||||
|
@ -729,6 +730,9 @@ class RemoteExportWizardPage1 extends WizardExportResourcesPage implements Liste
|
||||||
setMessage(DESTINATION_EMPTY_MESSAGE);
|
setMessage(DESTINATION_EMPTY_MESSAGE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
setMessage((String)null); // clear the message when a destination has been chosen
|
||||||
|
}
|
||||||
String conflictingContainer = getConflictingContainerNameFor(destinationValue);
|
String conflictingContainer = getConflictingContainerNameFor(destinationValue);
|
||||||
if (conflictingContainer != null) {
|
if (conflictingContainer != null) {
|
||||||
String msgTxt = NLS.bind(RemoteImportExportResources.FILEMSG_DESTINATION_CONFLICTING, conflictingContainer);
|
String msgTxt = NLS.bind(RemoteImportExportResources.FILEMSG_DESTINATION_CONFLICTING, conflictingContainer);
|
||||||
|
|
Loading…
Add table
Reference in a new issue