mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
* 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
This commit is contained in:
parent
90ea041ada
commit
82e603cf0c
@ -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")));
|
||||
|
Loading…
Reference in New Issue
Block a user