diff --git a/src/core/globalshortcutfilter.cpp b/src/core/globalshortcutfilter.cpp index a956a1ae..0f311134 100644 --- a/src/core/globalshortcutfilter.cpp +++ b/src/core/globalshortcutfilter.cpp @@ -58,8 +58,8 @@ bool GlobalShortcutFilter::nativeEventFilter(const QByteArray& eventType, if (VK_SNAPSHOT == keycode && MOD_SHIFT == modifiers) { if (m_history == nullptr) { m_history = new HistoryWidget(); - m_history->loadHistory(); } + m_history->loadHistory(); m_history->show(); }