From 82cdb483a9b4bff90b174f47ea221d0da0e40d87 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 30 Mar 2022 06:24:23 +0200
Subject: [PATCH] Fix arrow keys

---
 src/timeline/InputBar.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index f20b272b8..58a86d260 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -249,12 +249,12 @@ InputBar::updateState(int selectionStart_,
         history_index_ = 0;
 
         updateAtRoom(text_);
+        emit textChanged(text_);
     }
 
     selectionStart = selectionStart_;
     selectionEnd   = selectionEnd_;
     cursorPosition = cursorPosition_;
-    emit textChanged(text_);
 }
 
 QString
-- 
GitLab