mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-04 21:27:41 +08:00
fix Numberpicker::ensureCachedScrollSelectorValue
This commit is contained in:
parent
acad4f9258
commit
47cbfa7fdd
@ -1370,7 +1370,7 @@ void NumberPicker::ensureCachedScrollSelectorValue(int selectorIndex) {
|
||||
std::map<int,std::string>& cache = mSelectorIndexToStringCache;
|
||||
auto itr= cache.find(selectorIndex);
|
||||
|
||||
if (cahce.size()&&(itr != cache.end())) return;
|
||||
if (cache.size()&&(itr != cache.end())) return;
|
||||
|
||||
if (selectorIndex < mMinValue || selectorIndex > mMaxValue) {
|
||||
scrollSelectorValue = "";
|
||||
|
Loading…
Reference in New Issue
Block a user