X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyX.cpp;h=7b5c07636f00556e3b9fa21e5d44ecc3a9424b2c;hb=0a7705a6736a85c3c751f7b4e9998833cdb71fc9;hp=e2e5b0c925a9ab378eafcebc947449a845c0a93a;hpb=886e9dbfab851dc564092c8490410f793ce5b0bd;p=lyx.git diff --git a/src/LyX.cpp b/src/LyX.cpp index e2e5b0c925..7b5c07636f 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -750,7 +750,7 @@ bool LyX::init() if (!LyXSetStyle()) return false; //...and the modules - moduleList.read(); + theModuleList.read(); // read keymap and ui files in batch mode as well // because InsetInfo needs to know these to produce @@ -765,8 +765,6 @@ bool LyX::init() // load user bind file user.bind pimpl_->toplevel_keymap_.read("user", 0, KeyMap::MissingOK); - pimpl_->lyxfunc_.initKeySequences(&pimpl_->toplevel_keymap_); - if (lyxerr.debugging(Debug::LYXRC)) lyxrc.print(); @@ -959,7 +957,7 @@ int parse_dbg(string const & arg, string const &, string &) } lyxerr << to_utf8(bformat(_("Setting debug level to %1$s"), from_utf8(arg))) << endl; - lyxerr.level(Debug::value(arg)); + lyxerr.setLevel(Debug::value(arg)); Debug::showLevel(lyxerr, lyxerr.level()); return 1; }