I have a project in the QGIS Recent Projects list that doesn't exist anymore, but it keeps being listed (greyed out and without thumbnail image). Is there any way to remove it from the list? Perhaps by manually editing a history file or something like that?
I've found a feature request for this, and a related discussion, but I'm wondering if there's anything I can do now in QGIS 2.14.
Answer
To delete specific projects, from the toolbar go to
Settings > Options > Advanced
:Make a solemn promise that you will be careful and click. Locate the
UI
folder and find therecentProjects
. Here you will see an index of recent projects:You can widen the Value column to see more details on your projects. Identify the project you want removed and note the folder number (eg. 2). Then in the Python Console, enter:
from PyQt4.QtCore import QSettings
QSettings().remove('UI/recentProjects/2')Restart QGIS and the project should be removed from the list.
To delete the entire Recent Projects list, you can enter the following in the Python Console:
from PyQt4.QtCore import QSettings
QSettings().remove('UI/recentProjects')Restart QGIS and you should see the list has cleared.
No comments:
Post a Comment