]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.C
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insettoc.C
index ae53a76ee9cea0c303ff4164c029cbe686399a3c..8e0469482548c9bee87976a2aa2cdb5e1cd158bd 100644 (file)
@@ -28,11 +28,6 @@ InsetTOC::InsetTOC(InsetCommandParams const & p)
 {}
 
 
-// InsetTOC::InsetTOC(InsetCommandParams const & p, bool same_id)
-//     : InsetCommand(p, same_id)
-// {}
-
-
 InsetTOC::~InsetTOC()
 {
        InsetCommandMailer mailer("toc", *this);
@@ -66,7 +61,7 @@ dispatch_result InsetTOC::localDispatch(FuncRequest const & cmd)
                InsetCommandMailer("toc", *this).showDialog(cmd.view());
                return DISPATCHED;
        default:
-               return UNDISPATCHED;
+               return InsetCommand::localDispatch(cmd);
        }
 }