From 1cdb10e841bae07a3db5abd6267f32736a82ff3e Mon Sep 17 00:00:00 2001
From: rathnor <rathnor>
Date: Wed, 16 Apr 2003 23:33:59 +0000
Subject: save toolbar mode properly (Simon)

---
 src/ToolbarHandler.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ToolbarHandler.cc b/src/ToolbarHandler.cc
index f94c6a7..bc21772 100644
--- a/src/ToolbarHandler.cc
+++ b/src/ToolbarHandler.cc
@@ -20,7 +20,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: ToolbarHandler.cc,v 1.7 2003/04/16 13:30:55 fluxgen Exp $
+// $Id: ToolbarHandler.cc,v 1.8 2003/04/16 23:33:59 rathnor Exp $
 
 /**
  * The ToolbarHandler class acts as a rough interface to the toolbar.
@@ -104,6 +104,7 @@ void ToolbarHandler::setMode(ToolbarMode mode, bool initialise) {
     if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise)) 
         return;
 
+    m_screen.saveToolbarMode(mode);
     if (mode == OFF) {
         m_mode = mode;
         m_toolbarmenu.removeAll();
-- 
cgit v0.11.2