Issue Details (XML | Word | Printable)

Key: RAD-18
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Latif Khalifa
Reporter: Mojito Sorbet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Radegast

OnTabAdded event gets selectedTab instead of the new tab

Created: 04/Sep/09 05:09 AM   Updated: 04/Sep/09 07:26 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8

Severity: Medium


 Description  « Hide
In the two TabsConsole.AddTab methods, the parameter passed to the event is not the tab that was just created. It should look like:

try { OnTabAdded(this, new TabEventArgs(tab)); }

When I change it accordingly, I get the correct behavior. Without this change, the event delegate gets told repeatedly about the MainConsole being created.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Latif Khalifa added a comment - 04/Sep/09 07:26 AM
Fixed in r191. Thanks for providing detailed info!