aboutsummaryrefslogtreecommitdiff
path: root/BasicPanel.qml
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-08-17 15:14:43 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-08-17 15:14:43 +0300
commitc1269301f7c19a849b0fae7ddbe9afd38aaf71d3 (patch)
tree808bf213becf267eed4fbec5db87f823faee103d /BasicPanel.qml
parent6f1343aaa04bf2e4f959b5d3201239fe7fc85398 (diff)
downloadmonzero-gui-c1269301f7c19a849b0fae7ddbe9afd38aaf71d3.tar.gz
monzero-gui-c1269301f7c19a849b0fae7ddbe9afd38aaf71d3.tar.xz
monzero-gui-c1269301f7c19a849b0fae7ddbe9afd38aaf71d3.zip
Ask for password in wallet is password protected. closes #26
Diffstat (limited to 'BasicPanel.qml')
-rw-r--r--BasicPanel.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/BasicPanel.qml b/BasicPanel.qml
index 481fe8c4..abeb135c 100644
--- a/BasicPanel.qml
+++ b/BasicPanel.qml
@@ -27,6 +27,7 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.0
+import QtGraphicalEffects 1.0
import "components"
import "pages"
@@ -167,5 +168,12 @@ Rectangle {
}
}
+ // indicate disabled state
+ Desaturate {
+ anchors.fill: parent
+ source: parent
+ desaturation: root.enabled ? 0.0 : 1.0
+ }
+
}