mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Fix to Bug 1232 (as discussed on bugzilla)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7453 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c396168af0
commit
bee8db371f
@ -1,3 +1,8 @@
|
||||
2003-07-30 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* lyxfunc.C (dispatch): do not mark the buffer dirty if the action
|
||||
is disabled (bug 1232)
|
||||
|
||||
2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* factory.C: limited 'arg' scope
|
||||
@ -14,7 +19,6 @@
|
||||
|
||||
* lyx_main.C (LyX):
|
||||
* BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
|
||||
|
||||
|
||||
2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
|
@ -1621,7 +1621,8 @@ exit_with_message:
|
||||
view()->fitCursor();
|
||||
|
||||
// If we executed a mutating lfun, mark the buffer as dirty
|
||||
if (!lyxaction.funcHasFlag(ev.action, LyXAction::NoBuffer)
|
||||
if (!getStatus(ev).disabled()
|
||||
&& !lyxaction.funcHasFlag(ev.action, LyXAction::NoBuffer)
|
||||
&& !lyxaction.funcHasFlag(ev.action, LyXAction::ReadOnly))
|
||||
view()->buffer()->markDirty();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user