1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[181222] prevent null set when there is not initial file name (SaveAsForm appears to have expected an initial file name).

This commit is contained in:
David McKnight 2007-04-05 16:40:35 +00:00
parent 8dcbb6ec39
commit 364077fab3

View file

@ -216,7 +216,10 @@ public class SaveAsForm extends SystemSelectRemoteFileOrFolderForm {
else
{
fileName =initialFileName;
fileNameText.setText(fileName);
if (fileName != null)
{
fileNameText.setText(fileName);
}
parentFile = remoteFile;
}