summaryrefslogtreecommitdiff
path: root/src/pincodemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pincodemanager.cpp')
-rw-r--r--src/pincodemanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pincodemanager.cpp b/src/pincodemanager.cpp
index 541726f9c..6b254ba52 100644
--- a/src/pincodemanager.cpp
+++ b/src/pincodemanager.cpp
@@ -20,6 +20,8 @@
#include "pincodemanager.h"
+#include "client.h"
+
#include "gui/windows/okdialog.h"
#include "gui/windows/pincodedialog.h"
@@ -151,6 +153,8 @@ void PincodeManager::sendPincode(const std::string &pincode)
void PincodeManager::pinOk()
{
mState = PincodeState::None;
+ if (client)
+ client->focusWindow();
}
void PincodeManager::wrongPin()