]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlBibitem.C
The reference dialog now disconnects from the inset on Apply. Its behaviour
[lyx.git] / src / frontends / controllers / ControlBibitem.C
index 845dbaa2b21959ba3cc5bdd3e4340bca4bc0f39c..2f57feb3872fb067583947fe0a3381f282ba44c2 100644 (file)
@@ -35,6 +35,7 @@ ControlBibitem::ControlBibitem(LyXView & lv, Dialogs & d)
        d_.showBibitem.connect(slot(this, &ControlBibitem::showInset));
 }
 
+
 void ControlBibitem::applyParamsToInset()
 {
        // FIXME:
@@ -49,5 +50,5 @@ void ControlBibitem::applyParamsToInset()
        // 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();
 }