From 3e863c8b74675d44ab7ede15cf031eb1a4487a48 Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Wed, 17 Jun 2020 10:46:27 -0400 Subject: [PATCH] recentHelper.py: Don't try to modify the recent list unless recents are enabled. This was throwing an error when launching a program with the recent plugin disabled. --- usr/lib/linuxmint/mintMenu/plugins/recentHelper.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/lib/linuxmint/mintMenu/plugins/recentHelper.py b/usr/lib/linuxmint/mintMenu/plugins/recentHelper.py index c0fab8d..0aceacb 100644 --- a/usr/lib/linuxmint/mintMenu/plugins/recentHelper.py +++ b/usr/lib/linuxmint/mintMenu/plugins/recentHelper.py @@ -115,6 +115,10 @@ def doRecentApps(): def applicationButtonClicked(widget): mintMenuWin.hide() + + if settings == None: + return + recentAppsAdd(widget) recentAppsSave() doRecentApps()