mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Improve comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23201 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d667f7463e
commit
5a45ef653b
@ -274,8 +274,7 @@ void GuiLayoutBox::addItemSort(QString const & item, bool sorted)
|
||||
//below but to compare translated strings to figure out which layout the
|
||||
//user wants. This is not ideal. A better way is the way module names are
|
||||
//handled in GuiDocument: viz, the untranslated name can be associated
|
||||
//with the item via QComboBox::setItemData(). It may be that this can
|
||||
//even be done by passing: addItem(item, untransName).
|
||||
//with the item by using GuiIdListModel.
|
||||
int const end = count();
|
||||
if (!sorted || end < 2 || item[0].category() != QChar::Letter_Uppercase) {
|
||||
addItem(item);
|
||||
|
Loading…
Reference in New Issue
Block a user