Check that the is_downloading property is working using it to change opacity of menu...
authorIvan Frade <ivan.frade@gmail.com>
Mon, 4 Jul 2011 12:25:24 +0000 (15:25 +0300)
committerIvan Frade <ivan.frade@gmail.com>
Mon, 4 Jul 2011 12:25:24 +0000 (15:25 +0300)
ui/Mussorgsky.qml

index d77839b..c62939f 100644 (file)
@@ -35,6 +35,8 @@ Page {
         MenuLayout {
             MenuItem { text: "Download all"; 
                        onClicked: { missionControl.download_all (albumModel) }
+                       opacity: (missionControl.is_downloading ? 0.3 : 1)
+                       // This is not disabling the "onClicked", so it is mostly decorative
             }
         }
     }