Fix - HistoryWidget is not updated if called by Shortcut

This commit is contained in:
Yuriy Puchkov
2020-10-16 13:22:32 +03:00
parent 3c5ff1d29c
commit f9497ee2ea

View File

@@ -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();
}