[pitivi] greeter: Check that recent items exist
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] greeter: Check that recent items exist
- Date: Wed, 15 Jan 2020 06:41:08 +0000 (UTC)
commit 30beb3a0fd45fec7f08d06d05cc20fea3172e58c
Author: Spiros Klouvas <spirosklouvas protonmail com>
Date: Tue Jan 14 23:22:03 2020 +0200
greeter: Check that recent items exist
Closes #2349.
pitivi/greeterperspective.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pitivi/greeterperspective.py b/pitivi/greeterperspective.py
index e92224de..75455733 100644
--- a/pitivi/greeterperspective.py
+++ b/pitivi/greeterperspective.py
@@ -170,7 +170,8 @@ class GreeterPerspective(Perspective):
self.__recent_projects_listbox.remove(child)
recent_items = [item for item in self.app.recent_manager.get_items()
- if item.get_display_name().endswith(self.__project_filter)]
+ if item.get_display_name().endswith(self.__project_filter)
+ and item.exists()]
# If there are recent projects, display them, else display welcome screen.
if recent_items:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]