projects
/
mussorgsky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0936fc
)
Disable 'download all' button while doing the downloading
author
Ivan Frade
<ivan.frade@gmail.com>
Tue, 5 Jul 2011 07:19:02 +0000
(10:19 +0300)
committer
Ivan Frade
<ivan.frade@gmail.com>
Tue, 5 Jul 2011 07:19:02 +0000
(10:19 +0300)
ui/Mussorgsky.qml
patch
|
blob
|
history
diff --git
a/ui/Mussorgsky.qml
b/ui/Mussorgsky.qml
index
a302819
..
fe9a8e9
100644
(file)
--- a/
ui/Mussorgsky.qml
+++ b/
ui/Mussorgsky.qml
@@
-43,8
+43,10
@@
Page {
MenuLayout {
MenuItem { text: "Download all";
onClicked: { missionControl.download_all (albumModel) }
+ enabled: !missionControl.is_downloading
+ // enabled doesn't update the theming. Bug reported.
+ // we set the opacity ourselves in the mean time.
opacity: (missionControl.is_downloading ? 0.3 : 1)
- // This is not disabling the "onClicked", so it is mostly decorative
}
}
}