[Pkg-privacy-commits] [tails-installer] 57/210: If there are no warnings, the user doesn't need to confirm the decision
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:26:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.
commit a791f8494d17d2e6a096be1ceb5066d0095bbbdd
Author: Martin Briza <mbriza at redhat.com>
Date: Wed Apr 8 10:56:15 2015 +0200
If there are no warnings, the user doesn't need to confirm the decision
---
liveusb/components/DownloadDialog.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/liveusb/components/DownloadDialog.qml b/liveusb/components/DownloadDialog.qml
index 0fda216..f3c9c6a 100644
--- a/liveusb/components/DownloadDialog.qml
+++ b/liveusb/components/DownloadDialog.qml
@@ -221,7 +221,7 @@ Dialog {
enabled: liveUSBData.currentImage.readyToWrite && !liveUSBData.currentImage.writer.running
text: pressedOnce ? "Are you sure?" : "Write to disk"
onClicked: {
- if(pressedOnce) {
+ if(pressedOnce || !liveUSBData.currentImage.warning || liveUSBData.currentImage.warning.length == 0) {
liveUSBData.currentImage.write()
pressedOnce = false
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list