#endif
#include <config.h>
+#include "ViewBase.h"
+#include "ButtonControllerBase.h"
#include "ControlBibitem.h"
#include "Dialogs.h"
#include "LyXView.h"
#include "buffer.h"
+#include "BufferView.h"
using SigC::slot;
d_.showBibitem.connect(slot(this, &ControlBibitem::showInset));
}
+
void ControlBibitem::applyParamsToInset()
{
// FIXME:
// We need to do a redraw because the maximum
// InsetBibKey width could have changed
lv_.view()->redraw();
- lv_.view()->fitCursor(lv_.view()->getLyXText());
+ lv_.view()->fitCursor();
}