diff --git a/src/plugins/texteditor/outlinefactory.cpp b/src/plugins/texteditor/outlinefactory.cpp
index 374b53f2e937dae8fd239671b0a78ab3a4c88972..72a32f1c0827987465c1c31c8c5546eb5b12e568 100644
--- a/src/plugins/texteditor/outlinefactory.cpp
+++ b/src/plugins/texteditor/outlinefactory.cpp
@@ -176,8 +176,8 @@ Core::NavigationView OutlineFactory::createWidget()
     Core::NavigationView n;
     OutlineWidgetStack *placeHolder = new OutlineWidgetStack(this);
     n.widget = placeHolder;
-    n.dockToolBarWidgets.append(placeHolder->toggleSyncButton());
     n.dockToolBarWidgets.append(placeHolder->filterButton());
+    n.dockToolBarWidgets.append(placeHolder->toggleSyncButton());
     return n;
 }