#1 Wrong tabs are being closed

open
nobody
5
2007-04-19
2007-04-19
Anonymous
No

Here are the steps to reproduce it.
1. open 2 files cachegrind.out.a (width debug info of a.php) and cachegrind.out.b (with debug info for b.php). it really doesn't matter what the content is
2. click on the tab of the second file cachegrind.out.b (with debug info for b.php)
3. click on the close button

Here comes the buggy part.

Expected results:
the opened file must be the one with name cachegrind.out.a (width debug info of a.php)

What user gets:
the opened file is the lastly opened file cachegrind.out.b (width debug info of b.php)

Discussion