QupZilla/qupzilla — pull request #665 by srazi (2012-12-07 18:11:48+00:00)
Title: Fixed: from 'switch to tab' commit.

1- Renew TabPositionRole's data when `m_lastCompletion == string`
2- Don't switch to current tab, because we don't want clear its locationbar.

`Note:` Unfortunately there are two surprising bugs!
1- Open QupZilla.
2- Type `q` and complete qupzilla.com
3- Open new window and type `q` (after applying this patch or just change it once and again type `q` for recreating completer items)
4- Now compete it to switch tab, it activates the first window

Now qupzilla.com is current tab, there is two bugs, do one of the following steps:
a- Now again type `q` and when you complete it to switch tab, the second window will be activated!!!

b- type `qq`, the second window will be activated!! :-o