From: Georg Baum Date: Thu, 1 Feb 2007 17:30:35 +0000 (+0000) Subject: remove stupid error message X-Git-Tag: 1.6.10~10943 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=53bc1cca580c7c940aebb4af0e40a67d3d999863;p=lyx.git remove stupid error message git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17012 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 4570bfba8f..1d0a8b49b9 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -1067,10 +1067,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd) "Do you want to over-write that file?"), makeDisplayPath(filename.absFilename())); if (Alert::prompt(_("Over-write file?"), - text, 0, 1, _("&Over-write"), _("&Cancel")) != 0) { - showPrintError(buffer->fileName()); + text, 0, 1, _("&Over-write"), _("&Cancel")) != 0) break; - } } command += lyxrc.print_to_file + quoteName(filename.toFilesystemEncoding())