diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-08-17 15:14:43 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-08-17 15:14:43 +0300 |
| commit | c1269301f7c19a849b0fae7ddbe9afd38aaf71d3 (patch) | |
| tree | 808bf213becf267eed4fbec5db87f823faee103d /LeftPanel.qml | |
| parent | 6f1343aaa04bf2e4f959b5d3201239fe7fc85398 (diff) | |
| download | monzero-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.qml | 9 |
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 + } + + } |
