r15490 by jghali - #9339: Translated template category names lead to the wrong category
scribus-commit
scribus-commit at lists.scribus.net
Wed Sep 29 08:09:36 CEST 2010
Author: jghali
Date: Wed Sep 29 06:09:35 2010
New Revision: 15490
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15490
Log:
#9339: Translated template category names lead to the wrong category
Modified:
branches/Version135/Scribus/scribus/nftwidget.cpp
Modified: branches/Version135/Scribus/scribus/nftwidget.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15490&path=/branches/Version135/Scribus/scribus/nftwidget.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/nftwidget.cpp (original)
+++ branches/Version135/Scribus/scribus/nftwidget.cpp Wed Sep 29 06:09:35 2010
@@ -49,7 +49,6 @@
{
QStringList categories;
categoryList->clear();
- categoryList->addItem(tr("All"));
for (uint i = 0; i < settings->templates.size(); i++)
{
if ((!categories.contains(settings->templates[i]->templateCategory)) &&
@@ -60,6 +59,7 @@
}
}
categoryList->sortItems();
+ categoryList->insertItem(0, tr("All"));
categoryList->setCurrentRow(0);
}
More information about the scribus-commit
mailing list