]> git.lyx.org Git - features.git/commitdiff
Revert "Fix bug #8782."
authorRichard Heck <rgheck@lyx.org>
Mon, 16 Oct 2017 00:57:15 +0000 (20:57 -0400)
committerRichard Heck <rgheck@lyx.org>
Mon, 16 Oct 2017 00:57:15 +0000 (20:57 -0400)
This reverts commit de2a58d986739bccb83615e8515d715ebf1b5821.

src/BufferView.cpp

index bd5a944386d1bb95594eb385ef3f971849771d0f..efe7e540da18bb238b9b5edf1f04ab1bbe7bc647 100644 (file)
@@ -1354,13 +1354,6 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
                else
                        dr.screenUpdate(Update::Force | Update::FitCursor);
                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;
 
        case LFUN_REDO:
@@ -1371,9 +1364,6 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
                else
                        dr.screenUpdate(Update::Force | Update::FitCursor);
                dr.forceBufferUpdate();
-               // see above
-               buffer().invalidateBibfileCache();
-               buffer().removeBiblioTempFiles();
                break;
 
        case LFUN_FONT_STATE: