diff --git a/src/ui/manager/hotkeymanager.cpp b/src/ui/manager/hotkeymanager.cpp index 8e295727..7ff76c6a 100644 --- a/src/ui/manager/hotkeymanager.cpp +++ b/src/ui/manager/hotkeymanager.cpp @@ -24,8 +24,10 @@ HotKeyManager::HotKeyManager(QObject *parent) : QObject(parent) { } void HotKeyManager::initialize(bool enabled, bool global) { - if (m_enabled == enabled && m_global == global && !checkShortcutsChanged()) - return; + if (m_enabled == enabled && m_global == global) { + if (!checkShortcutsChanged()) + return; + } m_enabled = enabled; m_global = global;