diff --git a/clients/oxygen/config/oxygenconfig.cpp b/clients/oxygen/config/oxygenconfig.cpp
index 8033f62fe3..aac10f373a 100644
--- a/clients/oxygen/config/oxygenconfig.cpp
+++ b/clients/oxygen/config/oxygenconfig.cpp
@@ -157,6 +157,7 @@ namespace Oxygen
configuration.setUseDropShadows( ui->shadowConfigurations[1]->isChecked() );
configuration.setUseOxygenShadows( ui->shadowConfigurations[0]->isChecked() );
configuration.setUseNarrowButtonSpacing( ui->ui.narrowButtonSpacing->isChecked() );
+ configuration.setCloseFromMenuButton( ui->ui.closeFromMenuButton->isChecked() );
if( ui->expertMode() )
{
@@ -246,6 +247,7 @@ namespace Oxygen
ui->shadowConfigurations[1]->setChecked( configuration.useDropShadows() );
ui->ui.animationsEnabled->setChecked( configuration.animationsEnabled() );
ui->ui.narrowButtonSpacing->setChecked( configuration.useNarrowButtonSpacing() );
+ ui->ui.closeFromMenuButton->setChecked( configuration.closeFromMenuButton() );
ui->animationConfigWidget()->setConfiguration( configuration );
ui->animationConfigWidget()->load();
diff --git a/clients/oxygen/config/ui/oxygenconfigurationui.ui b/clients/oxygen/config/ui/oxygenconfigurationui.ui
index 0943bfe328..3dbc581012 100644
--- a/clients/oxygen/config/ui/oxygenconfigurationui.ui
+++ b/clients/oxygen/config/ui/oxygenconfigurationui.ui
@@ -6,8 +6,8 @@
0
0
- 500
- 378
+ 538
+ 388
@@ -124,6 +124,19 @@
4
+ -
+
+
+ Separator display:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ separatorMode
+
+
+
-
@@ -160,14 +173,7 @@
- -
-
-
- Use narrow space between decoration buttons
-
-
-
- -
+
-
Qt::Vertical
@@ -180,6 +186,13 @@
+ -
+
+
+ Use narrow space between decoration buttons
+
+
+
-
@@ -215,16 +228,10 @@
- -
-
+
-
+
- Separator display:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- separatorMode
+ Close windows by double clicking the menu button
@@ -347,6 +354,7 @@
sizeGripMode
separatorMode
titleOutline
+ closeFromMenuButton
narrowButtonSpacing
inactiveShadowConfiguration
activeShadowConfiguration