diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp
index ed86414d03a94ff4ab5c26b4b6a405c50d2fd957..490bf726d270d052b47c80b21361d811d3cee9cc 100644
--- a/src/timeline/TimelineViewManager.cpp
+++ b/src/timeline/TimelineViewManager.cpp
@@ -445,8 +445,8 @@ TimelineViewManager::completerFor(const QString &completerName, const QString &r
         stickerModel->setParent(proxy);
         return proxy;
     } else if (completerName == QLatin1String("command")) {
-        static auto commandCompleter = new CommandCompleter();
-        auto proxy                   = new CompletionProxyModel(commandCompleter);
+        auto commandCompleter = new CommandCompleter();
+        auto proxy            = new CompletionProxyModel(commandCompleter);
         commandCompleter->setParent(proxy);
         return proxy;
     }