psa: fix updateBar
[feedingit] / psa_harmattan / feedingit / deb_dist / feedingit-0.1.0 / qml / main.qml
index 267d1a6..59e8276 100644 (file)
@@ -36,6 +36,7 @@ PageStackWindow {
     }
 
     function updateProgress(total, completed) {
+        console.log("Total: "+total)
         if (total>0) {
             updateProgressValue = Math.round(100*completed/total);
         } else {
@@ -240,8 +241,8 @@ PageStackWindow {
                     onClicked: {
                         myArticlesMenu.close();
                         if (flipper.articleShown) {
-                            flipper.articleShown = false;
                             flipper.reload()
+                            flipper.articleShown = false;
                         } else {
                             window.feedReloadRequest();
                             pageStack.pop();