Output useful info on receipt of LFUN_GETLAYOUT.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8280 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-12-29 13:27:23 +00:00
parent 9605ba087d
commit e113eaeb70
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2003-12-28 Angus Leeming <leeming@lyx.org>
* text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2003-12-19 Alfredo Braunstein <abraunst@lyx.org>

View File

@ -1039,7 +1039,7 @@ DispatchResult LyXText::dispatch(FuncRequest const & cmd)
break;
case LFUN_GETLAYOUT:
cmd.message(tostr(cursorPar()->layout()));
cmd.message(cursorPar()->layout()->name());
break;
case LFUN_LAYOUT: {