mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-10-06 21:50:35 +02:00
* Bugfix in case of empty recent list.
This commit is contained in:
1 parent
453fb848aa
commit
400cc5ab4f
1 file changed
+1
-1
+1
-1
@@ -648,7 +648,7 @@ class MainController(Controller):
|
||||
return
|
||||
|
||||
initial_path = None
|
||||
if self.model.config.recent[0]:
|
||||
if self.model.config.recent and self.model.config.recent[0]:
|
||||
initial_path = os.path.dirname(self.model.config.recent[0])
|
||||
|
||||
if not path:
|
||||
|
||||
Reference in new issue
Block a user