From 8053bd7d014a0ae6e79147ff81a5fad1b569bf70 Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 19 Jul 2020 20:21:26 -0400 Subject: [PATCH] EventFile: respond to middle click (same as left) --- TODO.md | 1 - src/gui/Pages/Chat/Timeline/EventFile.qml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 9b0dc320..178dfc19 100644 --- a/TODO.md +++ b/TODO.md @@ -8,7 +8,6 @@ - buttons - keyboard controls - prevent drag-scrolling timeline when image opened - - eventfile middle click - right click in dark space of image viewer - clipboard preview doesn't update when copied image changes until second time diff --git a/src/gui/Pages/Chat/Timeline/EventFile.qml b/src/gui/Pages/Chat/Timeline/EventFile.qml index ef4d756e..b2d5b0f5 100644 --- a/src/gui/Pages/Chat/Timeline/EventFile.qml +++ b/src/gui/Pages/Chat/Timeline/EventFile.qml @@ -43,6 +43,7 @@ HTile { } } + onMiddleClicked: leftClicked() onRightClicked: eventDelegate.openContextMenu() onLeftClicked: eventList.selectedCount ?