From 89b89024c93478bf37ecd2f8af5a5457213a51f4 Mon Sep 17 00:00:00 2001 From: Marco Melorio Date: Sun, 17 Apr 2022 01:56:23 +0200 Subject: [PATCH] window: Add a global paste action to paste media Now it's possible to paste an image even when the message entry is not focused. --- data/resources/ui/session.ui | 10 +++++----- src/session/content/mod.rs | 13 +++++++++++++ src/session/content/room_history/mod.rs | 6 ++++++ src/session/mod.rs | 18 +++++++++++------- src/window.rs | 25 ++++++++++++++++++++++++- 5 files changed, 59 insertions(+), 13 deletions(-) diff --git a/data/resources/ui/session.ui b/data/resources/ui/session.ui index b67b69a5..f32f0348 100644 --- a/data/resources/ui/session.ui +++ b/data/resources/ui/session.ui @@ -3,14 +3,14 @@