summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r--src/progs/manaplus/client.cpp13
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