Sequencer - Button to clear selected tracks
This commit is contained in:
parent
be4bbe4095
commit
06b7a0949f
1 changed files with 6 additions and 0 deletions
|
@ -687,6 +687,12 @@ void T_SyncViewImpl_::displayToolbar( ) noexcept
|
||||||
sub = displaySelector ? SW_NONE : tsSelectedTab;
|
sub = displaySelector ? SW_NONE : tsSelectedTab;
|
||||||
curveFinder = T_String{};
|
curveFinder = T_String{};
|
||||||
}
|
}
|
||||||
|
SameLine( );
|
||||||
|
if ( ToolbarButton( ICON_FA_BAN , BtSize , "Clear selected tracks." ,
|
||||||
|
sTracks.size( ) != 0 ) ) {
|
||||||
|
sTracks.clear( );
|
||||||
|
sInputs.clear( );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue