summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-12-14 19:04:08 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-12-14 19:04:08 +0100
commit6762032c53dd2efb06b199da31bd8ce9a27604fb (patch)
treed8493a2273f39b029b20800b4587ae8561b6eefc
parentI don't see why this would have detached, but make clazy happy (diff)
downloadnheko-6762032c53dd2efb06b199da31bd8ce9a27604fb.tar.xz
Fix copy and paste again
-rw-r--r--resources/qml/TimelineView.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml

index e168c883..14b74e68 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml
@@ -28,7 +28,8 @@ Item { onRoomChanged: if (room != null) room.triggerSpecialEffects() - Keys.onPressed: if (!topBar.searchHasFocus) TimelineManager.focusMessageInput(); + // focus message input on key press, but not on Ctrl-C and such. + Keys.onPressed: if (event.text && !topBar.searchHasFocus) TimelineManager.focusMessageInput(); Shortcut { sequence: StandardKey.Close