+ fix saving problem with file names containing an apostrophe

This commit is contained in:
wmayer 2014-11-15 22:45:56 +01:00
parent a622d14c2d
commit 4e2cbaf045

View File

@ -582,7 +582,7 @@ bool Document::saveAs(void)
// save as new file name
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());
setModified(false);