]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarDefaults.C
Fix deleting of paragraphs after undo (fix #236).
[lyx.git] / src / ToolbarDefaults.C
index b81d79bd846f65639770848357ac6bd1861d4d58..594f4bf4f7a4d869ff9ebf6e2b0f3b888c16065a 100644 (file)
@@ -47,7 +47,7 @@ struct keyword_item toolTags[TO_LAST - 1] = {
        { "separator", TO_SEPARATOR }
 };
 
-}; // end of anon namespace
+} // end of anon namespace
 
 
 ToolbarDefaults::ToolbarDefaults()
@@ -90,7 +90,7 @@ void ToolbarDefaults::init()
         add(LFUN_MATH_MODE);
        add(SEPARATOR);
 
-       add(LFUN_FIGURE);
+       add(LFUN_INSET_GRAPHICS);
        add(LFUN_DIALOG_TABULAR_INSERT);
 }