mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
parent
f15b3827ea
commit
74dbfc1b1b
@ -1354,13 +1354,6 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
else
|
else
|
||||||
dr.screenUpdate(Update::Force | Update::FitCursor);
|
dr.screenUpdate(Update::Force | Update::FitCursor);
|
||||||
dr.forceBufferUpdate();
|
dr.forceBufferUpdate();
|
||||||
// we only need to do this if we have deleted or restored a
|
|
||||||
// BiBTeX inset. but there is no other place to do it. one
|
|
||||||
// obvious idea is to try to do it in a copy constructor for
|
|
||||||
// InsetBibTeX, but when that is invoked, the buffer_ member
|
|
||||||
// is not yet set.
|
|
||||||
buffer().invalidateBibfileCache();
|
|
||||||
buffer().removeBiblioTempFiles();
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_REDO:
|
case LFUN_REDO:
|
||||||
@ -1371,9 +1364,6 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
else
|
else
|
||||||
dr.screenUpdate(Update::Force | Update::FitCursor);
|
dr.screenUpdate(Update::Force | Update::FitCursor);
|
||||||
dr.forceBufferUpdate();
|
dr.forceBufferUpdate();
|
||||||
// see above
|
|
||||||
buffer().invalidateBibfileCache();
|
|
||||||
buffer().removeBiblioTempFiles();
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_FONT_STATE:
|
case LFUN_FONT_STATE:
|
||||||
|
Loading…
Reference in New Issue
Block a user