diff --git a/src/xmlcopyeditor.cpp b/src/xmlcopyeditor.cpp index 3a84362..7dddaec 100644 --- a/src/xmlcopyeditor.cpp +++ b/src/xmlcopyeditor.cpp @@ -3570,7 +3570,7 @@ void MyFrame::saveAs() return; wxString defaultFile, defaultDir; - defaultFile = doc->getFullFileName(); + defaultFile = doc->getShortFileName(); defaultDir = doc->getDirectory(); if ( defaultDir.empty() ) defaultDir = mLastDir;