mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
* compare locale aware
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24688 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e0edc21111
commit
7fc89d34da
@ -737,7 +737,7 @@ void GuiLayoutBox::addItemSort(docstring const & item, docstring const & categor
|
||||
if (i < end) {
|
||||
// find alphabetic position
|
||||
while (i != end
|
||||
&& model_->item(i, 0)->text().compare(titem) < 0
|
||||
&& model_->item(i, 0)->text().localeAwareCompare(titem) < 0
|
||||
&& (!sortedByCat || model_->item(i, 2)->text() == qcat))
|
||||
++i;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user