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
e146830725
commit
acad4f9258
@ -1370,7 +1370,7 @@ void NumberPicker::ensureCachedScrollSelectorValue(int selectorIndex) {
|
||||
std::map<int,std::string>& cache = mSelectorIndexToStringCache;
|
||||
auto itr= cache.find(selectorIndex);
|
||||
|
||||
if (itr == cache.end()) return;
|
||||
if (cahce.size()&&(itr != cache.end())) return;
|
||||
|
||||
if (selectorIndex < mMinValue || selectorIndex > mMaxValue) {
|
||||
scrollSelectorValue = "";
|
||||
|
Loading…
Reference in New Issue
Block a user