wxFileDialog expects a file name rather than a path (Jairo Grateron)
This commit is contained in:
parent
f337034944
commit
da26cfb14f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue