]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
more code in the menu backend == less code in the menu frontends; add support for...
[lyx.git] / src / lyxfunc.C
index a4eb36eb3f5a4c4cbe5f8ea4c2cf1167ee43545f..b74ad0e369fee3580d5d2dcd0d38b8762fa5a2a8 100644 (file)
@@ -1139,12 +1139,10 @@ void LyXFunc::dispatch(FuncRequest const & ev, bool verbose)
                        setErrorMessage(N_("Missing argument"));
                        break;
                }
-               owner->prohibitInput();
                string const fname = i18nLibFileSearch("doc", arg, "lyx");
                if (fname.empty()) {
                        lyxerr << "LyX: unable to find documentation file `"
                               << arg << "'. Bad installation?" << endl;
-                       owner->allowInput();
                        break;
                }
                ostringstream str;
@@ -1157,7 +1155,6 @@ void LyXFunc::dispatch(FuncRequest const & ev, bool verbose)
 #endif
                owner->message(STRCONV(str.str()));
                view()->buffer(bufferlist.loadLyXFile(fname, false));
-               owner->allowInput();
                break;
        }