From 5c3f36a25ecb14753713317e3d7e246d3c596440 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 12 Feb 2008 08:58:32 +0000 Subject: [PATCH] Support for list of Algorithms git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22955 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiToc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiToc.cpp b/src/frontends/qt4/GuiToc.cpp index 0d7643f869..2e94eb4f6e 100644 --- a/src/frontends/qt4/GuiToc.cpp +++ b/src/frontends/qt4/GuiToc.cpp @@ -147,6 +147,8 @@ bool GuiToc::initialiseParams(string const & data) new_type = "figure"; else if (str.contains("table")) new_type = "table"; + else if (str.contains("algorithm")) + new_type = "algorithm"; } types_.clear();