This commit is contained in:
niels
2015-11-15 17:31:00 +01:00
parent 92e6c146b8
commit cc5431dc65
3 changed files with 7 additions and 2 deletions

View File

@@ -127,6 +127,7 @@ void on_videobar_value_changed(GtkWidget *widget, gpointer user_data)
void on_subrender_toggled(GtkWidget *widget, gpointer user_data) void on_subrender_toggled(GtkWidget *widget, gpointer user_data)
{ {
if(!info->status_lock)
multi_vims( VIMS_SUB_RENDER,"%d",0); multi_vims( VIMS_SUB_RENDER,"%d",0);
} }

View File

@@ -28,7 +28,7 @@
int status_to_arr( char *status, int *array ) int status_to_arr( char *status, int *array )
{ {
int n = sscanf(status, "%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d", int n = sscanf(status, "%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d",
array + 0, array + 0,
array + 1, array + 1,
array + 2, array + 2,

View File

@@ -3140,6 +3140,10 @@ static void update_current_slot(int *history, int pm, int last_pm)
update = 1; update = 1;
} }
if( (history[SUBRENDER] != info->status_tokens[SUBRENDER] || is_button_toggled( "toggle_subrender") != info->status_tokens[SUBRENDER]) )
{
set_toggle_button( "toggle_subrender", 1 );
}
if(update) if(update)
{ {