Author: ib Date: Tue Jun 25 15:22:38 2024 New Revision: 38627 Log: Do not select row 0 (all channels) after creating the channel name list. This will trigger eqSelectChannelsListRow(), which will then overwrite all channels with channel0 data, resulting in the loss of the settings the user had for the channels. This should only happen if the user intentionally selects row 0. Modified: trunk/gui/dialog/equalizer.c Modified: trunk/gui/dialog/equalizer.c ============================================================================== --- trunk/gui/dialog/equalizer.c Tue Jun 25 15:21:11 2024 (r38626) +++ trunk/gui/dialog/equalizer.c Tue Jun 25 15:22:38 2024 (r38627) @@ -113,7 +113,6 @@ static void eqSetChannelNames( void ) str[0]=gtkEquChannel5; gtk_clist_append( GTK_CLIST( ChannelsList ) ,str); str[0]=gtkEquChannel6; gtk_clist_append( GTK_CLIST( ChannelsList ) ,str); } - gtk_clist_select_row( GTK_CLIST( ChannelsList ),0,0 ); } static void eqHScaleChanged (GtkRange *range, gpointer user_data)
participants (1)
-
ib