mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
disable save when document is clean (bug 2313)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13390 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
01dd14b592
commit
4836399ae8
@ -1,3 +1,8 @@
|
||||
2006-03-16 John Spray <spray@lyx.org>
|
||||
|
||||
* lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
|
||||
clean (bug 2313)
|
||||
|
||||
2006-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX
|
||||
|
@ -540,6 +540,11 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
|
||||
break;
|
||||
}
|
||||
|
||||
case LFUN_MENUWRITE: {
|
||||
enable = !view()->buffer()->isClean();
|
||||
break;
|
||||
}
|
||||
|
||||
// this one is difficult to get right. As a half-baked
|
||||
// solution, we consider only the first action of the sequence
|
||||
case LFUN_SEQUENCE: {
|
||||
@ -559,7 +564,6 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
|
||||
case LFUN_CANCEL:
|
||||
case LFUN_META_FAKE:
|
||||
case LFUN_CLOSEBUFFER:
|
||||
case LFUN_MENUWRITE:
|
||||
case LFUN_WRITEAS:
|
||||
case LFUN_UPDATE:
|
||||
case LFUN_PREVIEW:
|
||||
|
@ -37,9 +37,11 @@ What's new
|
||||
|
||||
- Convert line endings for external copy/paste on OS X (bug 1955).
|
||||
|
||||
- fix jurabib error with Spanish documents (bug 2365).
|
||||
- Disable saving when document is unchanged (bug 2313)
|
||||
|
||||
- First change is skipped in "Merge changes..." dialog (bug 2212).
|
||||
- Fix jurabib error with Spanish documents (bug 2365).
|
||||
|
||||
- Do not skip change in "Merge changes..." dialog (bug 2212).
|
||||
|
||||
- Improve handling of the labeling environment in KOMA letters (bug 2246).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user