diff --git a/share/translations/keepassxc_en.ts b/share/translations/keepassxc_en.ts
index 280feae52..d011f8de4 100644
--- a/share/translations/keepassxc_en.ts
+++ b/share/translations/keepassxc_en.ts
@@ -5963,6 +5963,10 @@ Are you sure you want to continue with this file?
Show Toolbar
+
+ Show Entries of Subgroups
+
+
Show Preview Panel
@@ -6316,6 +6320,10 @@ Expect some bugs and minor issues, this version is meant for testing purposes.
Toggle Show Toolbar
+
+ Toggle Show Entries of Subgroups
+
+
Toggle Show Preview Panel
diff --git a/src/gui/ApplicationSettingsWidget.cpp b/src/gui/ApplicationSettingsWidget.cpp
index 5e2d30665..cb2ee3af1 100644
--- a/src/gui/ApplicationSettingsWidget.cpp
+++ b/src/gui/ApplicationSettingsWidget.cpp
@@ -218,7 +218,6 @@ void ApplicationSettingsWidget::loadSettings()
m_generalUi->dropToBackgroundOnCopyRadioButton->setChecked(config()->get(Config::DropToBackgroundOnCopy).toBool());
m_generalUi->useGroupIconOnEntryCreationCheckBox->setChecked(
config()->get(Config::UseGroupIconOnEntryCreation).toBool());
- m_generalUi->showSubgroupEntriesCheckBox->setChecked(config()->get(Config::GUI_ShowSubgroupEntries).toBool());
m_generalUi->autoTypeEntryTitleMatchCheckBox->setChecked(config()->get(Config::AutoTypeEntryTitleMatch).toBool());
m_generalUi->autoTypeEntryURLMatchCheckBox->setChecked(config()->get(Config::AutoTypeEntryURLMatch).toBool());
m_generalUi->autoTypeHideExpiredEntryCheckBox->setChecked(config()->get(Config::AutoTypeHideExpiredEntry).toBool());
@@ -395,7 +394,6 @@ void ApplicationSettingsWidget::saveSettings()
config()->set(Config::MinimizeOnCopy, m_generalUi->minimizeOnCopyRadioButton->isChecked());
config()->set(Config::DropToBackgroundOnCopy, m_generalUi->dropToBackgroundOnCopyRadioButton->isChecked());
config()->set(Config::UseGroupIconOnEntryCreation, m_generalUi->useGroupIconOnEntryCreationCheckBox->isChecked());
- config()->set(Config::GUI_ShowSubgroupEntries, m_generalUi->showSubgroupEntriesCheckBox->isChecked());
config()->set(Config::AutoTypeEntryTitleMatch, m_generalUi->autoTypeEntryTitleMatchCheckBox->isChecked());
config()->set(Config::AutoTypeEntryURLMatch, m_generalUi->autoTypeEntryURLMatchCheckBox->isChecked());
config()->set(Config::AutoTypeHideExpiredEntry, m_generalUi->autoTypeHideExpiredEntryCheckBox->isChecked());
diff --git a/src/gui/ApplicationSettingsWidgetGeneral.ui b/src/gui/ApplicationSettingsWidgetGeneral.ui
index c5dd8266a..0e297e0ec 100644
--- a/src/gui/ApplicationSettingsWidgetGeneral.ui
+++ b/src/gui/ApplicationSettingsWidgetGeneral.ui
@@ -573,13 +573,6 @@
- -
-
-
- Show subgroup entries in entry list view
-
-
-
-
@@ -1448,7 +1441,6 @@
EnableCopyOnDoubleClickCheckBox
openUrlOnDoubleClick
useGroupIconOnEntryCreationCheckBox
- showSubgroupEntriesCheckBox
minimizeOnOpenUrlCheckBox
hideWindowOnCopyCheckBox
minimizeOnCopyRadioButton
diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp
index a75963e07..033d57763 100644
--- a/src/gui/MainWindow.cpp
+++ b/src/gui/MainWindow.cpp
@@ -2045,6 +2045,11 @@ void MainWindow::initViewMenu()
applySettingsChanges();
});
+ m_ui->actionShowEntriesOfSubgroups->setChecked(config()->get(Config::GUI_ShowSubgroupEntries).toBool());
+ connect(m_ui->actionShowEntriesOfSubgroups, &QAction::toggled, this, [](bool checked) {
+ config()->set(Config::GUI_ShowSubgroupEntries, checked);
+ });
+
m_ui->actionShowGroupPanel->setChecked(!config()->get(Config::GUI_HideGroupPanel).toBool());
connect(m_ui->actionShowGroupPanel, &QAction::toggled, this, [](bool checked) {
config()->set(Config::GUI_HideGroupPanel, !checked);
diff --git a/src/gui/MainWindow.ui b/src/gui/MainWindow.ui
index 79f2ab36c..7627a8874 100644
--- a/src/gui/MainWindow.ui
+++ b/src/gui/MainWindow.ui
@@ -399,6 +399,8 @@
+
+
@@ -1244,6 +1246,17 @@
Ctrl+Shift+A
+
+
+ true
+
+
+ Show Entries of Subgroups
+
+
+ Toggle Show Entries of Subgroups
+
+
true