* 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:
Stefan Schimanski 2008-05-09 01:16:49 +00:00
parent e0edc21111
commit 7fc89d34da

View File

@ -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;
}