Commit 93a55675 authored by Simon Eugster's avatar Simon Eugster
Browse files

Vectorscope: Remember paint mode and gain

svn path=/trunk/kdenlive/; revision=4751
parent a9e0ee1a
......@@ -125,6 +125,7 @@ void Vectorscope::readConfig()
m_aAxisEnabled->setChecked(scopeConfig.readEntry("axis", false));
ui->backgroundMode->setCurrentIndex(scopeConfig.readEntry("backgroundmode").toInt());
ui->paintMode->setCurrentIndex(scopeConfig.readEntry("paintmode").toInt());
ui->sliderGain->setValue(scopeConfig.readEntry("gain", 1));
}
void Vectorscope::writeConfig()
......@@ -134,7 +135,8 @@ void Vectorscope::writeConfig()
scopeConfig.writeEntry("75PBox", m_a75PBox->isChecked());
scopeConfig.writeEntry("axis", m_aAxisEnabled->isChecked());
scopeConfig.writeEntry("backgroundmode", ui->backgroundMode->currentIndex());
scopeConfig.writeEntry("paintMode", ui->paintMode->currentIndex());
scopeConfig.writeEntry("paintmode", ui->paintMode->currentIndex());
scopeConfig.writeEntry("gain", ui->sliderGain->value());
scopeConfig.sync();
}
......
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