mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 11:30:19 +01:00
* Bugfix in case of empty recent list.
This commit is contained in:
@@ -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