diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-08 02:10:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-08 02:10:06 +0300 |
commit | 6b3b81988ea37207eeeb2994761e307c6b6fb340 (patch) | |
tree | 7882a30bfb0e7a855e671af9a10d574c89bfd26f /src/pincodemanager.cpp | |
parent | 5d190c3ae47aef32c1f1fe48f36dd27cec721cf3 (diff) | |
download | manaverse-6b3b81988ea37207eeeb2994761e307c6b6fb340.tar.gz manaverse-6b3b81988ea37207eeeb2994761e307c6b6fb340.tar.bz2 manaverse-6b3b81988ea37207eeeb2994761e307c6b6fb340.tar.xz manaverse-6b3b81988ea37207eeeb2994761e307c6b6fb340.zip |
Dont allow select/delete character if any pincode modes active.
Diffstat (limited to 'src/pincodemanager.cpp')
-rw-r--r-- | src/pincodemanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pincodemanager.cpp b/src/pincodemanager.cpp index 6b254ba52..d8f2cea5a 100644 --- a/src/pincodemanager.cpp +++ b/src/pincodemanager.cpp @@ -171,3 +171,8 @@ void PincodeManager::closeDialogs() mDialog = nullptr; } } + +bool PincodeManager::isBlocked() +{ + return mState != PincodeState::None; +} |