Input Widet does not clear if command changes active buffer
If a command issued changes the active buffer, for example "/join #channel" or "/query nickname", and "Input Widget/Enable per chat history" is checked, the Input Widget does not clear in the buffer that was active when the command was entered.
[#channel is active buffer]
[query with "nickname" opens]
Change back to #channel buffer
Input Widget contains "/query nickname"
Checked with win32 0.7-pre+86 git-2118039
Bug introduced with introduction of the "Enable per chat history" feature.
Fix #984 without breaking topic input
Queued connection ensures that the textEdit is already reset() when InputWidget
does its thing, thus solving the history issues.
Approved by Tucos reading it 10 times. :>