Things behave much more sensibly with thisd patch: it doesn't make sense to revert an unsaved or unchanged document.
JMarc, do you want this for 1.3 ? regards john Index: lyxfunc.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v retrieving revision 1.398 diff -u -r1.398 lyxfunc.C --- lyxfunc.C 14 Feb 2003 14:49:49 -0000 1.398 +++ lyxfunc.C 17 Feb 2003 02:13:21 -0000 @@ -454,6 +454,9 @@ case LFUN_VC_HISTORY: disable = !buf->lyxvc.inUse(); break; + case LFUN_MENURELOAD: + disable = buf->isUnnamed() || buf->isClean(); + break; case LFUN_BOOKMARK_GOTO: disable = !view()-> isSavedPosition(strToUnsignedInt(ev.argument));