Commit 3fdb41b6 authored by Rafaël Carré's avatar Rafaël Carré

Qt4: check random button if random is set

parent c0641836
...@@ -365,6 +365,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options ) ...@@ -365,6 +365,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options )
case RANDOM_BUTTON: { case RANDOM_BUTTON: {
NORMAL_BUTTON( RANDOM ); NORMAL_BUTTON( RANDOM );
RANDOMButton->setCheckable( true ); RANDOMButton->setCheckable( true );
RANDOMButton->setChecked( var_GetBool( THEPL, "random" ) );
CONNECT( THEMIM, randomChanged( bool ), CONNECT( THEMIM, randomChanged( bool ),
RANDOMButton, setChecked( bool ) ); RANDOMButton, setChecked( bool ) );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment