Skip to content

Commit

Permalink
Task Bar|Console: Adjusted 'taskbar' command behavior when task bar open
Browse files Browse the repository at this point in the history
If the task bar is open but the command line is unfocused, 'taskbar'
will set focus to the command line rather than closing the task bar.
Only when the command line is focused and the task bar is open, the
command will close the task bar.
  • Loading branch information
skyjake committed Jul 30, 2013
1 parent c92cec6 commit de1f230
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/client/src/con_main.cpp
Expand Up @@ -2679,6 +2679,10 @@ D_CMD(TaskBar)
win.taskBar().open();
win.console().focusOnCommandLine();
}
else if(!win.console().commandLine().hasFocus())
{
win.console().focusOnCommandLine();
}
else
{
win.taskBar().close();
Expand Down

0 comments on commit de1f230

Please sign in to comment.