summaryrefslogtreecommitdiffstats
path: root/qml/pages/LongTermPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/pages/LongTermPage.qml')
-rw-r--r--qml/pages/LongTermPage.qml5
1 files changed, 0 insertions, 5 deletions
diff --git a/qml/pages/LongTermPage.qml b/qml/pages/LongTermPage.qml
index 490543d..54fa12c 100644
--- a/qml/pages/LongTermPage.qml
+++ b/qml/pages/LongTermPage.qml
@@ -53,8 +53,6 @@ BasicPage {
onCityLoadedChanged: updateStatusBar(ApplicationInfo.currentCityModel.copyright + " <a href=" + ApplicationInfo.currentCityModel.sourceXml + "\>(source)")
- isLocked: true
-
pageComponent: Item {
TouchScrollView {
id: scrollview
@@ -147,7 +145,6 @@ BasicPage {
target: ApplicationInfo.currentCityModel
onError: {
cityLoaded = false
- isLocked = false
previousPage()
updateStatusBar(errorMessage)
}
@@ -157,13 +154,11 @@ BasicPage {
WeatherModel {
id: weathermodel
onShowLongTerm: {
- isLocked = false
cityLoaded = true
}
onError: {
cityLoaded = false
lastLoadedCity = ""
- isLocked = false
previousPage()
updateStatusBar(qsTr("Problem loading the data: ") + errorMessage)
}