@@ -161,7 +161,8 @@ LocalComponents.Page {
161 i18n.language = plugin.languageCodes[plugin.currentLanguage]; // re-notify of change after above call (for qlocale change)
161 i18n.language = plugin.languageCodes[plugin.currentLanguage]; // re-notify of change after above call (for qlocale change)
162 root.countryCode = plugin.languageCodes[plugin.currentLanguage].split('_')[1].split('.')[0]; // extract the country code, save it for the timezone page
162 root.countryCode = plugin.languageCodes[plugin.currentLanguage].split('_')[1].split('.')[0]; // extract the country code, save it for the timezone page
164+ if (!root.modemManager.available || root.modemManager.modems.length === 0 ||
164− if (root.simManager0.present || root.simManager1.present || root.seenSIMPage) // go to next page
165+ root.simManager0.present || root.simManager1.present || root.seenSIMPage) // go to next page
165 pageStack.next();
166 pageStack.next();
167 pageStack.load(Qt.resolvedUrl("sim.qml")); // show the SIM page
168 pageStack.load(Qt.resolvedUrl("sim.qml")); // show the SIM page