mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
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:
parent
4c1fb15143
commit
ff93befafb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user