From 71a158e1afa0b2786f06667aaf2636fbbccd2d25 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Sat, 18 May 2002 12:38:13 +0000
Subject: save style on change

---
 src/Rootmenu.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Rootmenu.cc b/src/Rootmenu.cc
index 4e92d5f..5339630 100644
--- a/src/Rootmenu.cc
+++ b/src/Rootmenu.cc
@@ -91,7 +91,7 @@ void Rootmenu::itemSelected(int button, unsigned int index) {
 
 			case BScreen::EXIT:
 				fluxbox->shutdown();
-				break;
+			break;
 
 			case BScreen::SETSTYLE:
 				if (item->exec().size()) {
@@ -99,7 +99,8 @@ void Rootmenu::itemSelected(int button, unsigned int index) {
 					fluxbox->reconfigureTabs();
 				}
 				fluxbox->reconfigure();
-				break;
+				fluxbox->save_rc();
+			break;
 			case BScreen::RECONFIGURE:
 				fluxbox->reconfigure();
 				return;
-- 
cgit v0.11.2