mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
Int radio buttons were trying to write a bool pref. Oops.
This commit is contained in:
parent
46393b489c
commit
9508e37751
@ -467,7 +467,7 @@ nsresult nsPrefsCore::FinalizeOneWidget(
|
||||
nsresult rv = inElement->GetChecked(&boolVal);
|
||||
if (NS_FAILED(rv) || !boolVal)
|
||||
return rv;
|
||||
mPrefs->SetBoolPref(tempPrefName, inPrefOrdinal);
|
||||
mPrefs->SetIntPref(tempPrefName, inPrefOrdinal);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user