fix possible crash on sample copy (reloaded)

This commit is contained in:
niels
2015-11-20 20:56:46 +01:00
parent 70f62b60c9
commit 8de2752cad

View File

@@ -1722,8 +1722,7 @@ void on_button_clipcopy_clicked(GtkWidget *widget, gpointer user_data)
{ {
if(info->selection_slot) if(info->selection_slot)
{ {
multi_vims( VIMS_SAMPLE_COPY , "%d", multi_vims( VIMS_SAMPLE_COPY , "%d", info->selection_slot->sample_id );
info->selected_slot->sample_id );
gveejay_new_slot(MODE_SAMPLE); gveejay_new_slot(MODE_SAMPLE);
} }
} }