diff --git a/YACReader/main_window_viewer.cpp b/YACReader/main_window_viewer.cpp index 7b7ca603..6f0a23c9 100644 --- a/YACReader/main_window_viewer.cpp +++ b/YACReader/main_window_viewer.cpp @@ -254,6 +254,7 @@ void MainWindowViewer::createActions() openLatestComicAction->setToolTip(tr("Open the latest comic opened in the previous reading session")); openLatestComicAction->setData(OPEN_LATEST_COMIC_Y); openLatestComicAction->setShortcut(ShortcutsManager::getShortcutsManager().getShortcut(OPEN_LATEST_COMIC_Y)); + addAction(openLatestComicAction); connect(openLatestComicAction, &QAction::triggered, this, &MainWindowViewer::openLatestComic); QAction *recentFileAction = nullptr;