Now btcreator is hidden when play is deleting selected tree in BtController. What was problem: In tabBarItem:MouseDown is corresponding tabBar selected before listeners are called. So I did rewritten made a function tabBarItemMouseDownBets in BtController which is put in tree tab instead the original MouseDown function. And then do tabBar selection in listener itself.
Now btcreator is hidden when play is deleting selected tree in BtController. What was problem: In tabBarItem:MouseDown is corresponding tabBar selected before listeners are called. So I did rewritten made a function tabBarItemMouseDownBets in BtController which is put in tree tab instead the original MouseDown function. And then do tabBar selection in listener itself.

MartinFrancu/BETS