Fixed wrong usage of window title

This commit is contained in:
Michael Starke
2019-05-09 20:43:07 +02:00
parent 9134f4959b
commit f9b36177fd

View File

@@ -448,7 +448,7 @@ static MPAutotypeDaemon *_sharedInstance;
for(MPPlugin<MPAutotypeWindowTitleResolverPlugin> *resolver in resolvers) {
NSString *windowTitle = [resolver windowTitleForRunningApplication:application];
if(windowTitle.length > 0) {
self.targetWindowTitle = frontApplicationInfoDict[kMPWindowTitleKey];
self.targetWindowTitle = windowTitle;
break;
}
}