Skip to content

Commit

Permalink
Disable greying out of slider
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine committed Dec 13, 2016
1 parent e7a2541 commit fa15c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/SetupDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ SetupDialog::SetupDialog( ConfigTabs _tab_to_open ) :
autoSave->setChecked( m_disableAutoSave );
connect( autoSave, SIGNAL( toggled( bool ) ),
this, SLOT( toggleAutoSave( bool ) ) );
if( ! m_disableAutoSave ){ m_saveIntervalSlider->setEnabled( false ); }
// if( ! m_disableAutoSave ){ m_saveIntervalSlider->setEnabled( false ); }

LedCheckBox * runningAutoSave = new LedCheckBox(
tr( "Allow auto save while playing" ), auto_save_tw );
Expand Down Expand Up @@ -1213,7 +1213,7 @@ void SetupDialog::toggleSmoothScroll( bool _enabled )
void SetupDialog::toggleAutoSave( bool _enabled )
{
m_disableAutoSave = _enabled;
m_saveIntervalSlider->setEnabled( _enabled );
//m_saveIntervalSlider->setEnabled( _enabled );
}


Expand Down

0 comments on commit fa15c31

Please sign in to comment.