From: Stefan Schimanski Date: Wed, 22 Oct 2008 18:15:09 +0000 (+0000) Subject: * create a new window for a help file if there is none X-Git-Tag: 1.6.10~2927 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=82e603cf0c5a844f954db124a154aa1289d8a35c;p=features.git * create a new window for a help file if there is none git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27024 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index ca9e5fef6b..e2c2ccb57b 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -1029,7 +1029,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd) break; case LFUN_HELP_OPEN: { - LASSERT(lyx_view_, /**/); + if (lyx_view_ == 0) + theApp()->dispatch(FuncRequest(LFUN_WINDOW_NEW)); string const arg = argument; if (arg.empty()) { setErrorMessage(from_ascii(N_("Missing argument")));