From 645c941b0bb598f115080362ad54f6615a63a00e 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()