From 398c9726f305e0ec251b252303649229ff937e15 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 29 Aug 2025 01:12:24 -0400 Subject: [PATCH] fix: fixes the mouse label issue --- src/lib/gui/Action.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/gui/Action.cpp b/src/lib/gui/Action.cpp index 4b7d084f7..65717c96e 100644 --- a/src/lib/gui/Action.cpp +++ b/src/lib/gui/Action.cpp @@ -1,5 +1,6 @@ /* * Deskflow -- mouse and keyboard sharing utility + * SPDX-FileCopyrightText: (C) 2025 Deskflow Developers * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd. * SPDX-FileCopyrightText: (C) 2008 Volker Lanz * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception @@ -12,7 +13,7 @@ QString Action::text() const { - auto text = QString(m_actionTypeNames.at(keySequence().isMouseButton() ? type() + 6 : type())); + auto text = QString(m_actionTypeNames.at(type())); switch (static_cast(type())) { using enum Type;