fixed clear to erase
This commit is contained in:
parent
68c5d384a7
commit
57d7ce2538
1 changed files with 1 additions and 1 deletions
|
@ -1117,7 +1117,7 @@ void Toolbar::keyPressEvent(XKeyEvent *ke) {
|
||||||
if (ks == XK_Return) //change workspace name if keypress = Return
|
if (ks == XK_Return) //change workspace name if keypress = Return
|
||||||
screen->getCurrentWorkspace()->setName(const_cast<char *>(new_workspace_name.c_str()));
|
screen->getCurrentWorkspace()->setName(const_cast<char *>(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->getCurrentWorkspace()->getMenu()->hide();
|
||||||
screen->getWorkspacemenu()->
|
screen->getWorkspacemenu()->
|
||||||
|
|
Loading…
Reference in a new issue