BF [ 1779312 ] Open Attachment temporary file bug
This commit is contained in:
parent
accb337873
commit
346812057a
|
@ -504,7 +504,9 @@ public final class Attachment extends CDialog
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
String fileName = System.getProperty("java.io.tmpdir") + m_attachment.getEntryName(index);
|
String fileName = System.getProperty("java.io.tmpdir") +
|
||||||
|
System.getProperty("file.separator") +
|
||||||
|
m_attachment.getEntryName(index);
|
||||||
File tempFile = new File(fileName);
|
File tempFile = new File(fileName);
|
||||||
m_attachment.getEntryFile(index, tempFile);
|
m_attachment.getEntryFile(index, tempFile);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue