Fix order

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30999 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-08-12 22:37:22 +00:00
parent dc18e925a8
commit 70fdfa86df

View File

@ -124,13 +124,14 @@ public:
struct LayoutBox::Private
{
Private(LayoutBox * parent, GuiView & gv) : p(parent), owner_(gv),
lastSel_(-1), visibleCategories_(0), inShowPopup_(false),
layoutItemDelegate_(new LayoutItemDelegate(parent)),
// set the layout model with two columns
// 1st: translated layout names
// 2nd: raw layout names
model_(new QStandardItemModel(0, 2, p)),
filterModel_(new GuiLayoutFilterModel(p))
filterModel_(new GuiLayoutFilterModel(p)),
lastSel_(-1),
layoutItemDelegate_(new LayoutItemDelegate(parent)),
visibleCategories_(0), inShowPopup_(false)
{
filterModel_->setSourceModel(model_);
}