Focus database unlock dialog on macOS, fix #1023

This commit is contained in:
Weslly 2017-11-20 04:26:53 -02:00
parent ac73e25d88
commit 3b8d49104c
No known key found for this signature in database
GPG key ID: 0506FFCC6A90226C
3 changed files with 14 additions and 0 deletions

View file

@ -256,6 +256,13 @@ void AutoType::resetInAutoType()
m_inAutoType = false;
}
void AutoType::raiseWindow()
{
#if defined(Q_OS_MAC)
m_plugin->raiseOwnWindow();
#endif
}
void AutoType::unloadPlugin()
{
if (m_executor) {

View file

@ -51,6 +51,7 @@ public:
public slots:
void performGlobalAutoType(const QList<Database*>& dbList);
void raiseWindow();
signals:
void globalShortcutTriggered();