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.
This commit is contained in:
parent
d7f650b79f
commit
3e863c8b74
@ -115,6 +115,10 @@ def doRecentApps():
|
|||||||
|
|
||||||
def applicationButtonClicked(widget):
|
def applicationButtonClicked(widget):
|
||||||
mintMenuWin.hide()
|
mintMenuWin.hide()
|
||||||
|
|
||||||
|
if settings == None:
|
||||||
|
return
|
||||||
|
|
||||||
recentAppsAdd(widget)
|
recentAppsAdd(widget)
|
||||||
recentAppsSave()
|
recentAppsSave()
|
||||||
doRecentApps()
|
doRecentApps()
|
||||||
|
Loading…
Reference in New Issue
Block a user