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
30ef26afa0
commit
645c941b0b
@ -115,6 +115,10 @@ def doRecentApps():
|
||||
|
||||
def applicationButtonClicked(widget):
|
||||
mintMenuWin.hide()
|
||||
|
||||
if settings == None:
|
||||
return
|
||||
|
||||
recentAppsAdd(widget)
|
||||
recentAppsSave()
|
||||
doRecentApps()
|
||||
|
Loading…
Reference in New Issue
Block a user