diff options
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r-- | src/progs/manaplus/client.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 504916ea7..4b9132b53 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -1861,6 +1861,19 @@ void Client::focusWindow() } } +void Client::updatePinState() +{ + if (mCurrentDialog == nullptr || + mState != State::CHAR_SELECT) + { + return; + } + CharSelectDialog *const dialog = + dynamic_cast<CharSelectDialog*>(mCurrentDialog); + if (dialog != nullptr) + pincodeManager.updateState(); +} + void Client::logVars() { #ifdef ANDROID |