From 57d7ce25386e7375f75bc19ffb6969338ad090f3 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 22 Jan 2002 07:37:54 +0000 Subject: fixed clear to erase --- src/Toolbar.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Toolbar.cc b/src/Toolbar.cc index ef0cfd1..29e3685 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -1117,7 +1117,7 @@ void Toolbar::keyPressEvent(XKeyEvent *ke) { if (ks == XK_Return) //change workspace name if keypress = Return screen->getCurrentWorkspace()->setName(const_cast(new_workspace_name.c_str())); - new_workspace_name.clear(); //erase temporary workspace name + new_workspace_name.erase(); //erase temporary workspace name screen->getCurrentWorkspace()->getMenu()->hide(); screen->getWorkspacemenu()-> -- cgit v0.11.2