mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-18 21:34:15 -05:00
Process events from the event loop before typing the first char.
This commit is contained in:
parent
2dfc740782
commit
b86b640860
@ -148,6 +148,8 @@ void AutoType::performAutoType(const Entry* entry, QWidget* hideWindow, const QS
|
||||
window = m_plugin->activeWindow();
|
||||
}
|
||||
|
||||
QCoreApplication::processEvents(QEventLoop::AllEvents, 10);
|
||||
|
||||
Q_FOREACH (AutoTypeAction* action, actions) {
|
||||
if (m_plugin->activeWindow() != window) {
|
||||
qWarning("Active window changed, interrupting auto-type.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user