mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Do not store the welcome page in the user history.
This commit is contained in:
parent
9efe6a431f
commit
d5dd8eb940
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue