Fix - update history widget on new capture

This commit is contained in:
Yuriy Puchkov
2020-10-16 15:03:42 +03:00
parent b69f850c2a
commit 5ea80b2ca2
5 changed files with 14 additions and 3 deletions

View File

@@ -302,6 +302,15 @@ void Controller::updateConfigComponents()
}
}
void Controller::updateRecentScreenshots()
{
if (nullptr != m_history) {
if (m_history->isVisible()) {
m_history->loadHistory();
}
}
}
void Controller::showRecentScreenshots()
{
if (nullptr == m_history) {