mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Revert 22023 and really fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22024 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eb7c892f84
commit
b95a68d476
@ -1666,6 +1666,10 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateFlags = Update::Force | Update::FitCursor;
|
updateFlags = Update::Force | Update::FitCursor;
|
||||||
|
// We are here most certainaly because of a change in the document
|
||||||
|
// It is then better to make sure that all dialogs are in sync
|
||||||
|
// with current document settings. LyXView::restartCursor() achieve this.
|
||||||
|
lyx_view_->restartCursor();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
|
|
||||||
#include "GuiDocument.h"
|
#include "GuiDocument.h"
|
||||||
|
|
||||||
#include "GuiView.h"
|
|
||||||
|
|
||||||
#include "BranchList.h"
|
#include "BranchList.h"
|
||||||
#include "buffer_funcs.h"
|
#include "buffer_funcs.h"
|
||||||
#include "Buffer.h"
|
#include "Buffer.h"
|
||||||
@ -1295,13 +1293,6 @@ void GuiDocument::apply(BufferParams & params)
|
|||||||
|
|
||||||
// Embedded files
|
// Embedded files
|
||||||
// FIXME
|
// FIXME
|
||||||
|
|
||||||
// GuiDocument is special because some change in there might affect other
|
|
||||||
// dialogs. It is then better to make sure that all dialogs are in sync
|
|
||||||
// with current document settings.
|
|
||||||
lyxview().updateBufferDependent(true);
|
|
||||||
lyxview().updateLayoutList();
|
|
||||||
lyxview().updateToolbars();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user