intiter = GeopositionListPrefPtr->find(GeopositionListIndex);
- if (intiter->first == GeopositionListIndex && intiter->second > 0){
+ if (intiter->first == GeopositionListIndex && intiter->second > 0 &&
+ intiter != GeopositionListPrefPtr->end()){
sliPriority->SetValue(intiter->second);
sliPriority->Enable();
std::map<int, wxString> *GeopositionListAltID,
std::map<int, wxString> *GeopositionListPID,
std::map<int, wxString> *GeopositionListType,
+ std::map<int, wxString> *GeopositionListDataType,
std::map<int, wxString> *GeopositionListTokens,
std::map<int, wxString> *GeopositionListMediatype,
std::map<int, int> *GeopositionListPref,
GeopositionListAltIDPtr = GeopositionListAltID;
GeopositionListPIDPtr = GeopositionListPID;
GeopositionListTypePtr = GeopositionListType;
+ GeopositionListDataTypePtr = GeopositionListDataType;
GeopositionListTokensPtr = GeopositionListTokens;
GeopositionListPrefPtr = GeopositionListPref;
GeopositionListCtrlPtr = GeopositionListCtrl;