Entry::autoTypeSequence() returns null string when no window matches.
Return QString() when a windowTitle is passed but doesn't match any auto-type association.
This commit is contained in:
@@ -186,9 +186,12 @@ QString Entry::autoTypeSequence(const QString& windowTitle) const
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (sequence.isEmpty()) {
|
||||
if (sequence.isEmpty()) {
|
||||
return QString();
|
||||
}
|
||||
}
|
||||
else {
|
||||
sequence = m_data.defaultAutoTypeSequence;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user