aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.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 /LeftPanel.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 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index 604f2d6e..851db047 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -27,6 +27,7 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.2
+import QtGraphicalEffects 1.0
import "components"
Rectangle {
@@ -355,4 +356,12 @@ Rectangle {
connected: false
}
}
+ // indicate disabled state
+ Desaturate {
+ anchors.fill: parent
+ source: parent
+ desaturation: panel.enabled ? 0.0 : 1.0
+ }
+
+
}