MacOS: Fix Global Autotype when frontmost window title is empty.

This commit is contained in:
rockihack 2017-01-26 21:09:57 +01:00
parent b22b67c7d9
commit 11dec27dd1

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;
}
}
}