bug 738 - revert fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6190 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-02-17 18:39:07 +00:00
parent e3fac3d609
commit 8653ec7ae5
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-02-17 John Levon <levon@movementarian.org>
* lyxfunc.C: fix bug 738 - revert behaves sensibly
2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* buffer.C (makeLaTeXFile): fix counting of number of line feeds * buffer.C (makeLaTeXFile): fix counting of number of line feeds

View File

@ -458,6 +458,9 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
case LFUN_VC_HISTORY: case LFUN_VC_HISTORY:
disable = !buf->lyxvc.inUse(); disable = !buf->lyxvc.inUse();
break; break;
case LFUN_MENURELOAD:
disable = buf->isUnnamed() || buf->isClean();
break;
case LFUN_BOOKMARK_GOTO: case LFUN_BOOKMARK_GOTO:
disable = !view()-> disable = !view()->
isSavedPosition(strToUnsignedInt(ev.argument)); isSavedPosition(strToUnsignedInt(ev.argument));

View File

@ -76,3 +76,5 @@ What's new
- enable the debug level to be set in lyx2lyx - enable the debug level to be set in lyx2lyx
- fix strerror() build problem with some gcc/glibc versions [bug #874] - fix strerror() build problem with some gcc/glibc versions [bug #874]
- revert is now disabled for an unchanged or unsaved document [bug #783]