mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
Navigator: default to table of contents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23661 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c81e3a0203
commit
94ff60ec7e
@ -145,8 +145,11 @@ bool GuiToc::initialiseParams(string const & data)
|
|||||||
new_type = "table";
|
new_type = "table";
|
||||||
else if (str.contains("\"algorithm"))
|
else if (str.contains("\"algorithm"))
|
||||||
new_type = "algorithm";
|
new_type = "algorithm";
|
||||||
} else
|
} else if (!data.empty())
|
||||||
new_type = toqstr(data);
|
new_type = toqstr(data);
|
||||||
|
else
|
||||||
|
// Default to Outliner.
|
||||||
|
new_type = "tableofcontents";
|
||||||
|
|
||||||
types_.clear();
|
types_.clear();
|
||||||
type_names_.clear();
|
type_names_.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user