diff --git a/src/gui/widget/numberpicker.cc b/src/gui/widget/numberpicker.cc index f5191ce2..bd6e5ebd 100644 --- a/src/gui/widget/numberpicker.cc +++ b/src/gui/widget/numberpicker.cc @@ -1370,7 +1370,7 @@ void NumberPicker::ensureCachedScrollSelectorValue(int selectorIndex) { std::map& 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 = "";