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:
parent
8dcbb6ec39
commit
364077fab3
1 changed files with 4 additions and 1 deletions
|
@ -216,7 +216,10 @@ public class SaveAsForm extends SystemSelectRemoteFileOrFolderForm {
|
|||
else
|
||||
{
|
||||
fileName =initialFileName;
|
||||
fileNameText.setText(fileName);
|
||||
if (fileName != null)
|
||||
{
|
||||
fileNameText.setText(fileName);
|
||||
}
|
||||
parentFile = remoteFile;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue