diff --git a/ui-sequencer.cc b/ui-sequencer.cc index 75efaaf..b80632f 100644 --- a/ui-sequencer.cc +++ b/ui-sequencer.cc @@ -687,6 +687,12 @@ void T_SyncViewImpl_::displayToolbar( ) noexcept sub = displaySelector ? SW_NONE : tsSelectedTab; curveFinder = T_String{}; } + SameLine( ); + if ( ToolbarButton( ICON_FA_BAN , BtSize , "Clear selected tracks." , + sTracks.size( ) != 0 ) ) { + sTracks.clear( ); + sInputs.clear( ); + } } /*------------------------------------------------------------------------------*/