Fix colour picker mode remembering.
Originally committed to SVN as r1505.
This commit is contained in:
parent
39dab0d324
commit
6cc27087dc
2 changed files with 2 additions and 2 deletions
|
@ -1057,7 +1057,7 @@ void DialogColorPicker::OnChangeMode(wxCommandEvent &evt)
|
||||||
{
|
{
|
||||||
if (!updating_controls)
|
if (!updating_controls)
|
||||||
spectrum_dirty = true;
|
spectrum_dirty = true;
|
||||||
Options.SetInt(_T("Colour Picker Mode"), colorspace_choice->GetSelection());
|
Options.SetInt(_T("Color Picker Mode"), colorspace_choice->GetSelection());
|
||||||
UpdateSpectrumDisplay();
|
UpdateSpectrumDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -352,7 +352,7 @@ void OptionsManager::LoadDefaults(bool onlyDefaults) {
|
||||||
SetBool(_T("Select Match comments"),false);
|
SetBool(_T("Select Match comments"),false);
|
||||||
|
|
||||||
SetText(_T("Color Picker Recent"), _T("&H000000& &H0000FF& &H00FFFF& &H00FF00& &HFFFF00& &HFF0000& &HFF00FF& &HFFFFFF&"));
|
SetText(_T("Color Picker Recent"), _T("&H000000& &H0000FF& &H00FFFF& &H00FF00& &HFFFF00& &HFF0000& &HFF00FF& &HFFFFFF&"));
|
||||||
SetInt(_T("Color Picker Mode"), 4);
|
SetInt(_T("Color Picker Mode"), 3);
|
||||||
|
|
||||||
SetText(_T("Last open subtitles path"),_T(""));
|
SetText(_T("Last open subtitles path"),_T(""));
|
||||||
SetText(_T("Last open video path"),_T(""));
|
SetText(_T("Last open video path"),_T(""));
|
||||||
|
|
Loading…
Reference in a new issue