mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-07 06:27:39 +03:00
change inAutotype logic, preventing multiple autotype call
This commit is contained in:
parent
ba4ef52e9e
commit
a76c92ed9a
8 changed files with 44 additions and 56 deletions
|
@ -226,18 +226,18 @@ QString Entry::defaultAutoTypeSequence() const
|
|||
*/
|
||||
QString Entry::effectiveAutoTypeSequence() const
|
||||
{
|
||||
if (autoTypeEnabled() == false) {
|
||||
return QString();
|
||||
if (!autoTypeEnabled()) {
|
||||
return {};
|
||||
}
|
||||
|
||||
const Group* parent = group();
|
||||
if (!parent) {
|
||||
return QString();
|
||||
return {};
|
||||
}
|
||||
|
||||
QString sequence = parent->effectiveAutoTypeSequence();
|
||||
if (sequence.isEmpty()) {
|
||||
return QString();
|
||||
return {};
|
||||
}
|
||||
|
||||
if (!m_data.defaultAutoTypeSequence.isEmpty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue