mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-18 14:35:23 +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:
parent
8dcbb6ec39
commit
364077fab3
1 changed files with 4 additions and 1 deletions
|
@ -216,7 +216,10 @@ public class SaveAsForm extends SystemSelectRemoteFileOrFolderForm {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fileName =initialFileName;
|
fileName =initialFileName;
|
||||||
|
if (fileName != null)
|
||||||
|
{
|
||||||
fileNameText.setText(fileName);
|
fileNameText.setText(fileName);
|
||||||
|
}
|
||||||
parentFile = remoteFile;
|
parentFile = remoteFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue