]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_cb.C
More 'standard conformant blurb' nonsense.
[lyx.git] / src / lyx_cb.C
index 933b050f648727851e991358af8314f8815d9c98..80aa0e9adbe7f80e69daa78892d6c0215e933e60 100644 (file)
@@ -337,8 +337,7 @@ void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph)
                bv->getLyXText()->insertStringAsLines(tmpstr);
        else
                bv->getLyXText()->insertStringAsParagraphs(tmpstr);
-       if (flag)
-               bv->update(BufferView::SELECT);
+       bv->update();
 }
 
 
@@ -454,7 +453,7 @@ void Reconfigure(BufferView * bv)
        bv->owner()->message(_("Running configure..."));
 
        // Run configure in user lyx directory
-       Path p(user_lyxdir);
+       Path p(user_lyxdir());
        Systemcall one;
        one.startscript(Systemcall::Wait,
                        AddName(system_lyxdir(), "configure"));