]> git.lyx.org Git - lyx.git/blobdiff - src/buffer_funcs.cpp
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / buffer_funcs.cpp
index 3ed3249fbb2c49a54967c65f258ea4c23a0e9d23..fd0a4c32e0aa357d775e81920a0d518e30b41f11 100644 (file)
@@ -214,7 +214,7 @@ Buffer * checkAndLoadLyXFile(FileName const & filename)
        docstring text = bformat(_("The document %1$s does not yet "
                "exist.\n\nDo you want to create a new document?"),
                from_utf8(filename.absFilename()));
-       if (Alert::prompt(_("Create new document?"),
+       if (!Alert::prompt(_("Create new document?"),
                        text, 0, 1, _("&Create"), _("Cancel")))
                return newFile(filename.absFilename(), string(), true);