Sequencer - Button to clear selected tracks

This commit is contained in:
Emmanuel BENOîT 2017-11-30 09:41:27 +01:00
parent be4bbe4095
commit 06b7a0949f

View file

@ -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( );
}
}
/*------------------------------------------------------------------------------*/