diff options
-rw-r--r-- | src/Toolbar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
1117 | if (ks == XK_Return) //change workspace name if keypress = Return | 1117 | if (ks == XK_Return) //change workspace name if keypress = Return |
1118 | screen->getCurrentWorkspace()->setName(const_cast<char *>(new_workspace_name.c_str())); | 1118 | screen->getCurrentWorkspace()->setName(const_cast<char *>(new_workspace_name.c_str())); |
1119 | 1119 | ||
1120 | new_workspace_name.clear(); //erase temporary workspace name | 1120 | new_workspace_name.erase(); //erase temporary workspace name |
1121 | 1121 | ||
1122 | screen->getCurrentWorkspace()->getMenu()->hide(); | 1122 | screen->getCurrentWorkspace()->getMenu()->hide(); |
1123 | screen->getWorkspacemenu()-> | 1123 | screen->getWorkspacemenu()-> |