git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@69 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2006-01-27 12:23:12 +00:00
parent 452b7a200f
commit 2542a66675
3 changed files with 11 additions and 18 deletions

View File

@@ -580,7 +580,8 @@ void bitInvader::saveSettings( QDomDocument & _doc,
// save LED normalize
to_de.setAttribute( "interpolation", m_interpolationToggle->isChecked() );
to_de.setAttribute( "interpolation",
m_interpolationToggle->isChecked() );
// save LED
to_de.setAttribute( "normalize", m_normalizeToggle->isChecked() );
@@ -619,18 +620,10 @@ void bitInvader::loadSettings( const QDomElement & _this )
}
// Load LED normalize
if ( _this.attribute( "interpolation" ).toInt() == 1 ) {
m_interpolationToggle->setChecked( true );
} else {
m_interpolationToggle->setChecked( false );
}
m_interpolationToggle->setChecked( _this.attribute(
"interpolation" ).toInt() );
// Load LED
if ( _this.attribute( "normalize" ).toInt() == 1) {
m_normalizeToggle->setChecked( true );
} else {
m_normalizeToggle->setChecked( false );
}
m_normalizeToggle->setChecked( _this.attribute( "normalize" ).toInt() );
update();
// songEditor::inst()->setModified();