From d5dd8eb9407d1cef096f2b00e9f59aab1e03c976 Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Sun, 20 Jan 2013 19:25:12 +0100 Subject: [PATCH] Do not store the welcome page in the user history. --- mainwindow.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cc b/mainwindow.cc index e435caec..31985eea 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -635,7 +635,11 @@ MainWindow::MainWindow( Config::Class & cfg_ ): { ArticleView *view = getCurrentArticleView(); + history.enableAdd( false ); + view->showDefinition( tr( "Welcome!" ), Instances::Group::HelpGroupId ); + + history.enableAdd( cfg.preferences.storeHistory ); } translateLine->setFocus();