Merge pull request #222 from rockihack/fix-global-autotype

MacOS: Fix Global Autotype in Google Chrome, resolves #212
This commit is contained in:
Janek Bevendorff 2017-01-26 22:37:27 +02:00
parent d8662b709a
commit 3f1a75f40a
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -98,7 +98,9 @@ QString AutoTypePlatformMac::activeWindowTitle()
if (windowLayer(window) == 0) {
// First toplevel window in list (front to back order)
title = windowTitle(window);
break;
if (!title.isEmpty()) {
break;
}
}
}