mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-23 03:58:56 -04:00
open random article doesn't open new tab
This commit is contained in:
parent
adc9f1a7ce
commit
badb43ec7b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user