]> git.lyx.org Git - features.git/commitdiff
remove stupid error message
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 1 Feb 2007 17:30:35 +0000 (17:30 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 1 Feb 2007 17:30:35 +0000 (17:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17012 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyxfunc.C

index 4570bfba8f511ab85c6e4ac5f501e9d105ff67ce..1d0a8b49b9be491b855b6a52d3f108b8fa6950ae 100644 (file)
@@ -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())