From bc5888e8e436f0e5e89048b430ba2f42f19ad0ad Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Sat, 1 Aug 2020 00:17:25 +0200 Subject: [PATCH] Always show Settings in the context menu (amends #2164) The context menu should allow access to the Settings even when no accounts are configured. Users may specify proxy / startup / update and other settings at any time. This slipped through in #2164. Signed-off-by: Michael Schuster --- src/gui/systray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 07f8e3353..f8c827c5b 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -86,8 +86,8 @@ Systray::Systray() contextMenu->addAction(tr("Add account"), this, &Systray::openAccountWizard); } else { contextMenu->addAction(tr("Open main dialog"), this, &Systray::openMainDialog); - contextMenu->addAction(tr("Settings"), this, &Systray::openSettings); } + contextMenu->addAction(tr("Settings"), this, &Systray::openSettings); contextMenu->addAction(tr("Exit %1").arg(Theme::instance()->appNameGUI()), this, &Systray::shutdown); setContextMenu(contextMenu); #endif -- 2.30.2