]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.cpp
Fix GRAPHICS_EDIT of InsetGraphics
[lyx.git] / src / insets / InsetBibitem.cpp
index a05cbd45b0144dc7d4a33e84d53a36e35307cc40..22bb43d55f74ccec17c7da3273c7f104a358b8fa 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <config.h>
+#include <algorithm>
 
 #include "InsetBibitem.h"
 
@@ -116,6 +117,7 @@ void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
                if (params()["key"] != old_key)
                        cur.bv().buffer().changeRefsIfUnique(old_key,
                                params()["key"], CITE_CODE);
+               break;
        }
 
        default: