diff options
Diffstat (limited to 'src/ToolbarHandler.cc')
-rw-r--r-- | src/ToolbarHandler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: ToolbarHandler.cc,v 1.7 2003/04/16 13:30:55 fluxgen Exp $ | 23 | // $Id: ToolbarHandler.cc,v 1.8 2003/04/16 23:33:59 rathnor Exp $ |
24 | 24 | ||
25 | /** | 25 | /** |
26 | * The ToolbarHandler class acts as a rough interface to the toolbar. | 26 | * The ToolbarHandler class acts as a rough interface to the toolbar. |
@@ -104,6 +104,7 @@ void ToolbarHandler::setMode(ToolbarMode mode, bool initialise) { | |||
104 | if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise)) | 104 | if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise)) |
105 | return; | 105 | return; |
106 | 106 | ||
107 | m_screen.saveToolbarMode(mode); | ||
107 | if (mode == OFF) { | 108 | if (mode == OFF) { |
108 | m_mode = mode; | 109 | m_mode = mode; |
109 | m_toolbarmenu.removeAll(); | 110 | m_toolbarmenu.removeAll(); |