Fix copy and paste again

This commit is contained in:
Nicolas Werner 2022-12-14 19:04:08 +01:00
parent eefa6379f9
commit 6762032c53
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 2 additions and 1 deletions

View File

@ -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