[ddots-l] How to delete empty bars?

Hi all!
I have a problem. When I was editing notes in event view I pressed by accident 
"bar 12000" and I only recorded material to 9 bar and when I wanted to selected 
track from start to end I heard " selected track from bar 1 to bar 12000" Is 
there any way to delete it?

Other related posts: