1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-27 06:03:51 +03:00

track lastActiveWindows for OnAllActivities layout

--fix the typo that identifies when a view in present
OnAllActivities, {0} that is.

BUG:431763
This commit is contained in:
Michail Vourlakos 2021-02-03 00:34:53 +02:00
parent f27f938042
commit 1e8ec1380d

View File

@ -117,9 +117,7 @@ bool TrackedGeneralInfo::isTrackingCurrentActivity() const
void TrackedGeneralInfo::updateTrackingCurrentActivity()
{
m_isTrackingCurrentActivity = ( m_activities.isEmpty()
|| m_activities[0] == "0"
|| m_activities.contains(m_wm->currentActivity()));
m_isTrackingCurrentActivity = ( m_activities.isEmpty() || m_activities[0] == "{0}" || m_activities.contains(m_wm->currentActivity()));
}