From baa55b55fa43cbbf9bc8fa427b0c40c95fa9482d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 23 Mar 2006 13:51:00 +0000 Subject: [PATCH] enable save for new documents (bug 2313 again) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13462 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/lyxfunc.C | 3 ++- status.14x | 32 ++++++++++++++++---------------- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 36412126a9..3818a5b79f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-03-20 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): always allow saving unnamed buffers (bug + 2313 cont'd). + 2006-03-16 Jürgen Spitzmüller * text.C (delete): adjust cursor after backspace in change tracking diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 99a39f3dff..0f858e819e 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -541,7 +541,8 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const } case LFUN_MENUWRITE: { - enable = !view()->buffer()->isClean(); + enable = view()->buffer()->isUnnamed() + || !view()->buffer()->isClean(); break; } diff --git a/status.14x b/status.14x index fb77ca1f08..4027487017 100644 --- a/status.14x +++ b/status.14x @@ -31,7 +31,7 @@ What's new - Translate \verb commands correctly in tex2lyx (bug 2236). -- Truncate temporary file names that are too long for MikTeX's pdflatex +- Truncate temporary file names that are too long for MikTeX's pdflatex. - Parse \tag and \tag* commands correctly in tex2lyx and mathed (bug 2234). @@ -57,40 +57,40 @@ What's new - Improve handling of the labeling environment in KOMA letters (bug 2246). +- Fix crash when deleting row/column in a math array. + - Fix positioning of cursor when clicking to right of last nestinset in a cell. -- Fix cursor positioning in tabulars (bug 2006). +- Fix: deleting superscript also deleted subscript (bug 2362) + +- Fix converting selection to superscript, subscript or mbox inset (math) + +- Fix drawing of \boxed and \fbox in formulas (bug 2361). - Update screen when cursor was between two spaces and goes to line/document start/end (bug 2298). -- Fix copy and paste for multiple cells (bug 2377). - - Adjust cursor after backspace in change tracking mode (bug 2185). +- Fix cursor positioning in tabulars (bug 2006). + +- Fix copy and paste for multiple cells (bug 2377). + - Fix drawing of inset buttons (bug 2328) -- Fix: deleting superscript also deleted subscript (bug 2362) - -- Fix drawing of \boxed and \fbox in formulas (bug 2361). +- Small optimizations in the way the Qt frontend updates the screen, - Use the qt wide scroll wheel setting (bug 2175). -- fix converting selection to superscript, subscript or mbox inset (math) +- Remove zombie wheel mouse spin box from the qt preferences dialog (bug 783). - Fix Find&Replace with sciword bindings. -- small optimizations in the way the Qt frontend updates the screen, - -- Fix crash when deleting row/column in a math array - -- remove zombie wheel mouse spin box from the qt preferences dialog (bug 783). - * Configuration/Installation: - Don't use the -mms-bitfields compiler switch on mingw and cygwin, since - Q..3/ does not use it either in the default configuration + Q..3/ does not use it either in the default configuration. -- Compilation fix (gtk frontend) for gcc 4.1 +- Compilation fix (gtk frontend) for gcc 4.1.