summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ToolbarHandler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ToolbarHandler.cc b/src/ToolbarHandler.cc
index 7e31e65..26f601d 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.3 2003/03/10 22:25:18 rathnor Exp $ 23// $Id: ToolbarHandler.cc,v 1.4 2003/03/23 05:07:03 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.
@@ -101,6 +101,7 @@ ToolbarHandler::ToolbarHandler(BScreen &screen, ToolbarMode mode)
101void ToolbarHandler::setMode(ToolbarMode mode, bool initialise) { 101void ToolbarHandler::setMode(ToolbarMode mode, bool initialise) {
102 if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise)) return; 102 if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise)) return;
103 if (mode == OFF) { 103 if (mode == OFF) {
104 m_mode = mode;
104 m_toolbarmenu.removeAll(); 105 m_toolbarmenu.removeAll();
105 //TODO: nls 106 //TODO: nls
106 m_toolbarmenu.insert("Mode...", &m_modemenu); 107 m_toolbarmenu.insert("Mode...", &m_modemenu);