InputLine now regains focus on keypress
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 11 Jan 2009 11:46:28 +0000 (12:46 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 11 Jan 2009 11:46:28 +0000 (12:46 +0100)
commitdc9de5af386f61e6dc5537d04ccc8aceb8126b21
tree5e7de4e8caa683533dbf3a401138e7d7cb3980bd
parenta35e9270e608bfbc5b21ba47d49b3139f06b13e9
InputLine now regains focus on keypress

Pressing any letter, number, or space will automatically focus the input line now.
This compensates for the fact that clicking in the BufferView now takes away focus :)

Fixes #47 and #221.
src/qtui/mainwin.cpp
src/qtui/mainwin.h
src/uisupport/inputline.cpp
src/uisupport/inputline.h