+ fix saving problem with file names containing an apostrophe
This commit is contained in:
parent
a622d14c2d
commit
4e2cbaf045
|
@ -582,7 +582,7 @@ bool Document::saveAs(void)
|
||||||
|
|
||||||
// save as new file name
|
// save as new file name
|
||||||
Gui::WaitCursor wc;
|
Gui::WaitCursor wc;
|
||||||
Command::doCommand(Command::Doc,"App.getDocument(\"%s\").saveAs('%s')"
|
Command::doCommand(Command::Doc,"App.getDocument(\"%s\").saveAs(\"%s\")"
|
||||||
, DocName, (const char*)fn.toUtf8());
|
, DocName, (const char*)fn.toUtf8());
|
||||||
setModified(false);
|
setModified(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user