mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-18 22:00:00 +01:00
copy selected sample if selected,otherwise copy current playing sample
This commit is contained in:
@@ -1722,7 +1722,7 @@ void on_button_clipcopy_clicked(GtkWidget *widget, gpointer user_data)
|
||||
{
|
||||
if(info->selection_slot)
|
||||
{
|
||||
multi_vims( VIMS_SAMPLE_COPY , "%d", info->selection_slot->sample_id );
|
||||
multi_vims( VIMS_SAMPLE_COPY , "%d", (info->selection_slot == NULL ? info->selection_slot->sample_id : info->selection_slot->sample_id) );
|
||||
gveejay_new_slot(MODE_SAMPLE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user