undo partly 16441

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16511 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-01-04 19:44:49 +00:00
parent 4c1fb15143
commit ff93befafb

View File

@ -154,7 +154,7 @@ void QToc::updateType()
QString gui_names_;
for (size_t i = 0; i != types.size(); ++i) {
string type_str = types[i];
string const & type_str = types[i];
type_list.append(toqstr(getGuiName(type_str)));
if (type_str == selected_type)
type_ = i;