From 4df2447b3e320ab9ee533020e1c5954309881867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haris=20Gu=C5=A1i=C4=87?= Date: Tue, 12 Oct 2021 17:50:03 +0200 Subject: [PATCH] Show dyanamic panel shortcut in help message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Haris Gušić --- src/widgets/capture/capturewidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/capture/capturewidget.cpp b/src/widgets/capture/capturewidget.cpp index 49e57084..08b1c23d 100644 --- a/src/widgets/capture/capturewidget.cpp +++ b/src/widgets/capture/capturewidget.cpp @@ -338,7 +338,8 @@ void CaptureWidget::pushHelpMessage() } keyMap << QPair(tr("Mouse Wheel"), tr("Change tool size")); keyMap << QPair(tr("Right Click"), tr("Show color picker")); - keyMap << QPair(tr("Space"), tr("Open side panel")); + keyMap << QPair(ConfigHandler().shortcut("TYPE_TOGGLE_PANEL"), + tr("Open side panel")); keyMap << QPair(tr("Esc"), tr("Exit")); } OverlayMessage::pushKeyMap(keyMap);