From 3cc0754fdeb1178b643148f206e7147bab90a593 Mon Sep 17 00:00:00 2001 From: Zsolt Kovari Date: Thu, 3 Oct 2024 10:26:03 +0200 Subject: [PATCH] Open first created novel automatically, closes #1366 --- src/main/python/plotlyst/view/home_view.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/python/plotlyst/view/home_view.py b/src/main/python/plotlyst/view/home_view.py index c894f3246..9739011e9 100644 --- a/src/main/python/plotlyst/view/home_view.py +++ b/src/main/python/plotlyst/view/home_view.py @@ -293,6 +293,8 @@ def flush(): self.refresh() self._shelvesTreeView.selectNovel(novel) + if len(self._novels) == 1: + self.loadNovel.emit(novel) def _title_edited(self, title: str): if title: