Skip to content

Commit

Permalink
Client|Task Bar: Clear command line when dismissing console
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jun 4, 2013
1 parent 44f0f3b commit a8758db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/client/src/ui/widgets/taskbarwidget.cpp
Expand Up @@ -298,8 +298,10 @@ bool TaskBarWidget::handleEvent(Event const &event)

if(isOpen())
{
// First press of Esc will just dismiss the console.
if(d->console->isLogOpen())
{
d->console->commandLine().setText("");
d->console->closeLog();
root().setFocus(0);
return true;
Expand Down

0 comments on commit a8758db

Please sign in to comment.