summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-30 07:02:52 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-30 07:02:52 +0200
commit0d9a3ff4cd1660968819a89093ff5595b93bae4d (patch)
treee84071d528c4d6b12b37a428a1bcb50c23725abe /src/timeline/InputBar.cpp
parentRemove a few unused variables (diff)
downloadnheko-0d9a3ff4cd1660968819a89093ff5595b93bae4d.tar.xz
Fix cursor moving to the end when editing in the middle
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 58a86d26..f7c4fc1e 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -249,7 +249,8 @@ InputBar::updateState(int selectionStart_,
         history_index_ = 0;
 
         updateAtRoom(text_);
-        emit textChanged(text_);
+        // disabled, as it moves the cursor to the end
+        // emit textChanged(text_);
     }
 
     selectionStart = selectionStart_;