From badb43ec7bbdfc29bfca8b24b74e5561897d8aab Mon Sep 17 00:00:00 2001 From: luddens Date: Tue, 21 May 2019 15:49:27 +0200 Subject: [PATCH] open random article doesn't open new tab --- src/kiwixapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kiwixapp.cpp b/src/kiwixapp.cpp index 30af0b2..45bbc53 100644 --- a/src/kiwixapp.cpp +++ b/src/kiwixapp.cpp @@ -256,7 +256,7 @@ void KiwixApp::createAction() CREATE_ACTION_ICON(RandomArticleAction, "random", tr("Random Article")); SET_SHORTCUT(RandomArticleAction, QKeySequence(Qt::CTRL+Qt::Key_R)); connect(mpa_actions[RandomArticleAction], &QAction::triggered, - this, [=]() { this->openRandomUrl(); }); + this, [=]() { this->openRandomUrl(false); }); CREATE_ACTION_ICON(PrintAction, "print", tr("Print")); SET_SHORTCUT(PrintAction, QKeySequence::Print);