mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 15:20:02 +01:00
Fix #123 : Next & Previous bank buttons do not update
This commit is contained in:
@@ -3675,6 +3675,10 @@ on_button_samplebank_prev_clicked (GtkButton *button,
|
|||||||
{
|
{
|
||||||
GtkNotebook *samplebank = GTK_NOTEBOOK( info->sample_bank_pad );
|
GtkNotebook *samplebank = GTK_NOTEBOOK( info->sample_bank_pad );
|
||||||
gtk_notebook_prev_page(samplebank);
|
gtk_notebook_prev_page(samplebank);
|
||||||
|
//update the bank spin widget
|
||||||
|
gint page = gtk_notebook_get_current_page (samplebank);
|
||||||
|
if (page != -1)
|
||||||
|
update_spin_value("spin_samplebank_select", page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -3684,6 +3688,10 @@ on_button_samplebank_next_clicked (GtkButton *button,
|
|||||||
{
|
{
|
||||||
GtkNotebook *samplebank = GTK_NOTEBOOK( info->sample_bank_pad );
|
GtkNotebook *samplebank = GTK_NOTEBOOK( info->sample_bank_pad );
|
||||||
gtk_notebook_next_page(samplebank);
|
gtk_notebook_next_page(samplebank);
|
||||||
|
//update the bank spin widget
|
||||||
|
gint page = gtk_notebook_get_current_page (samplebank);
|
||||||
|
if (page != -1)
|
||||||
|
update_spin_value("spin_samplebank_select", page);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user