From f9497ee2ea94c491c9412890a92c5aa52335fb3a Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Fri, 16 Oct 2020 13:22:32 +0300 Subject: [PATCH] Fix - HistoryWidget is not updated if called by Shortcut --- src/core/globalshortcutfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }