diff --git a/src/frontends/qt4/PanelStack.cpp b/src/frontends/qt4/PanelStack.cpp
index 5537ee1562..68fb07e73c 100644
--- a/src/frontends/qt4/PanelStack.cpp
+++ b/src/frontends/qt4/PanelStack.cpp
@@ -49,9 +49,9 @@ PanelStack::PanelStack(QWidget * parent)
: QWidget(parent)
{
delay_search_ = new QTimer(this);
+ search_ = new FancyLineEdit(this);
list_ = new QTreeWidget(this);
stack_ = new QStackedWidget(this);
- search_ = new FancyLineEdit(this);
// Configure the timer
delay_search_->setSingleShot(true);
diff --git a/src/frontends/qt4/ui/PrefsUi.ui b/src/frontends/qt4/ui/PrefsUi.ui
index fc990471ee..5da08dba44 100644
--- a/src/frontends/qt4/ui/PrefsUi.ui
+++ b/src/frontends/qt4/ui/PrefsUi.ui
@@ -23,17 +23,14 @@
true
-
+
11
6
- -
-
-
- -
+
-
0
@@ -99,27 +96,29 @@
+ -
+
+
-
-
- qt_i18n.h
-
lyx::frontend::PanelStack
-
+ QWidget
1
-
+ prefsPS
restorePB
savePB
applyPB
closePB
+
+ qt_i18n.h
+