]> git.lyx.org Git - features.git/commitdiff
Fix order
authorPavel Sanda <sanda@lyx.org>
Wed, 12 Aug 2009 22:37:22 +0000 (22:37 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 12 Aug 2009 22:37:22 +0000 (22:37 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30999 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/LayoutBox.cpp

index 99053451e5844e605c81ccca90e9853afbc1da81..f065c5cc5fbdd90713d3ae0c26137ef7e700625b 100644 (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_);
        }