mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 19:40:21 +01:00
* Bugfix in case of empty recent list.
This commit is contained in:
@@ -648,7 +648,7 @@ class MainController(Controller):
|
|||||||
return
|
return
|
||||||
|
|
||||||
initial_path = None
|
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])
|
initial_path = os.path.dirname(self.model.config.recent[0])
|
||||||
|
|
||||||
if not path:
|
if not path:
|
||||||
|
|||||||
Reference in New Issue
Block a user